mirroring
hello, we have mirroring in place. it takes table data from sql server server1 to server2. It does not seem to copy the things such as stored procs, functions, views, etc. 1- Is it possible to set this...
View ArticleUsers with logins but cant query from syslogins based on name?
Im trying to modify the list of users what I want to use when "re-mapping" users to logins after a DB restore. I only care about users and their logins that WE have created, not system level accounts...
View ArticleSelect * into a link server table
Hi all..I am doing the following:select * into servername.dbname.dbo.table_backup from tablebut it failed. any work around ?
View ArticleALTER TABLE [dbo].[TestTable] WITH NOCHECK ADD CONSTRAINT...
/****** Object: Table [dbo].[TestTable] Script Date: 06/18/2014 15:57:51 ******/ I have a table script same as below. SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO...
View ArticleCalling all SS DBE users! May TechNet Gurus announced!
The results for May's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2014/01/16/technet-guru-awards-december-2013.aspxCongratulations to all our new Gurus for...
View ArticleAdd new Partition to Table Without Split
I have an extremely large table with over 2 Billion records and 1.4TB of data. It is currently split into 5 partitions. I now need to add a new partition, because the last partition is getting too...
View ArticleOPENROWSET Query Error
Hi Guys, Any workaround for this error while trying to run openrowset query from server and from my local machine SSMS. Server - SQL 2008R2 Ent 64 bit and it is clustered server . My account has...
View ArticleMS SQL Server 2008 -- Daily Backup
Hello,My real need is simply to do a daily backup of a database : I have SQL Server 2008( not express ) .My user is sa and has full control on the database.-----------I have searched the web...
View ArticleRemove linked server dependencies
we've DB which has many objects using linked servers which causing very poor performance for some processes. I want to remove this linked server dependencies for these objects. Is there any ways I can...
View ArticleScript to send email notification when sql server stops..
Hi, I am looking for a script through which I can monitor sql server service status and if it down for any reason, I want to send email to Dba team. How to achieve this? Did anyone has already done...
View ArticleThe time has come! Step up SS DBE Gurus! Your community needs heroes like you!
TechNet Gurus... we salute you!You're awesome, and we know it!Your knowledge uploads and nifty info nuggets are our life blood at TechNet Wiki.Every awesome article that gets an award is just the...
View ArticleWill Cumulative Update 12 for SQL Server 2008R2 SP2 fix: Warning: Unable to...
Hello,I had a server crash recently and our outsource hosting tech support suggested applying Cumulative Upade 12 for SQL server 2008R2 SP2 to fix the issue. The exception from our dump file "Warning:...
View Articlerestore backup
Hi,Can I restore the backup of SQL Server 2012 CU1 on SQL Server 2012 CU10?Regards,
View ArticleError When Creating Maintenance Plan
Hi, recently I upgraded to sql server 2008 R2 from sql 2008, everything went OK and my server is up and running since 10 days.This evening I wanted to modify a maintenance plan that backs up all DBs...
View Article2 Log files for 1 database
yes I know that there is no performance gain configuring 2 log files for 1 database, but my idea is not performance related. Let's say I've a storage with some fast disks (SAS or SSD) and other slow...
View ArticleProblem Start Service after moving the database.
I just moved my master db to the new D drive following this technote. http://msdn.microsoft.com/en-us/library/ms345408(v=sql.105).aspxWhen I try to start the SQL Server it fails and I receive the...
View ArticleSSMS Shows Only Granted Databases
I have created a user with mixed authentication and wants to show only those databases on which the new user have access rights. User can't see other databases because wants to secret my databases...
View ArticleSQL Server Cardinality Estimator 2014
During the check of New Cardinality Estimator in 2014, I found a strange thing and have one confusion let me define my problem first. I was using below code to generate the database and insert some...
View ArticleQuery Required
Name Comp DOJ Kris Aa 2010 Naik Bb 2013 kris Cc 2011 Nana Dd 2014 Out put: Kris...
View ArticleShrink Database (Rebuild Indexes)
HiI would like to know that, If I shrink my DB and started rebuilding indexes how much time it would require to rebuild a DB of size 1 GB.Thanks ...Manish
View Article