Single User Mode in SQL LocalDb 2012
Hi,Is it possible to run SQL LocalDB in single user environment to restore master database? I have access only to sqlCmd tool.I tried following from DOS window."C:\Program Files\Microsoft SQL...
View ArticleData warehouse File groups and Table partition designing
Hi Experts,Project: Datawarehouse migration from Oracle to SQL Server 2012 In Oracle Number of Schemas in Oracle - 6 Tables: Each Schema has 3 partitioned tables and three unpartitioned tables Every...
View ArticleMSSQL 2000 SQL Agent Jobs view and modify
Hi ~ I would like to create a login which can only view and modify the SQL agent Job.I grant the login as db_owner already for msdb already. But there is still error on it.
View ArticleHow to get execute user information from "sys.dm_exec_sql_text"
Hello,Some day ago, my database lose data. Somebody delete rows in table by "Microsoft SQL Manager tools" so i can't trace what they do.I using SQL, get history of statement executed. But how to know :...
View ArticleIs there any Microsoft product for In-Memory Database?
Hello AllIs there any Microsoft product for In-Memory Database System like Oracle's TimesTen database?I have searched and found something called xVelocity,,Whether it is equivqlent to TimesTen...
View ArticleCardinality estimates on a parallel join are wrong
Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...
View ArticleWhy restore of database.bak fails?
I have clean SQL Server 2012 and restored database from bak file created in another server. Restore was succesful.Now I made new restore for the just created database from same bak file. It fails.It...
View ArticleKeep Alive and Keep Alive Interval properties in SQL Server 2012
hi all,Can anybodya explain "Keep Alive" and "Keep Alive Interval" properties in SQL Server 2012 database?Are these propeties are useful keep uninterrupted connection from front end application...
View ArticleComputed Column in the include of a Non Clustered Index not working as expected
Hello,I have a table with a text field containing up to 30k characters. Since I cannot use this field in the include of my indexes I have created a persisted computed column that cuts down to total...
View Articlecall powershell with parameter in SQl agent job
I use SQL server agent job to call a powershell script. I am using Type operating system(Cmdexec)In the job command window, I type:powershell.exe "D:\PowershellScripts\Write-VolToDb.ps1...
View ArticleSQL 2012 SP1 - SSIS Server Maintenance Job poor performance.
I'm using SSIS 2012 on SQL 2012 SP1 and the performance of the SSIS Server Maintenance Job is abysmal. It's been running for 10 days and has still not completed. Worse still it is blocking the other...
View ArticleNew DBA features of 2008R2 & 2012
Hi all,what are the new DBA Features in ms sql server 2008 r2 and ms sql server 20212...?
View ArticleTable level; backup and restore the same into some other instance?
Hi All,<o:p></o:p>As apps tem requested to take table level backups from the database and same restore into the some other instance.. since 4 tables size is 430GB..can anyone help on...
View Articlemultiple data file in user database
Hi All,I have three database on same server with three drive F,G,H A databsae size is 400 GB.B databsae size is 60 GB and C is 800 MBand B db 50 % select and 50 % insert transaction B database has mdf...
View ArticleDatabase curruption
Hi, CHECKDB found quite some errors on a database. The error messages are like:Msg 8909, Level 16, State 1, Line 1Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 0 (type Unknown),...
View ArticleDrive image as backup
Hello all,We are taking both sql backups and drive image backups for a sql server. The sql backups are not stored permenantly as the older backup files are being deleted. But the drive image backups...
View ArticleFull Text Search index not showing exact search result
Hi, i have created the full text index on the table candidates.I am Storing candidates resume in c_resume text filed.select * from candidates WHERE contains(c_resume_text,'C++') -It shwoing c++ and...
View ArticleSSMS 2012 - Connecting to SQL Server 2012 Instance is Extremely Slow
Every time I connect to one of my SQL Server 2012 instances on a remote server, SSMS freezes when "Loading items..." and hangs for at least ten minutes or longer. Out of the people who access this...
View ArticleNo Alert description for monitor "DB File Space"(SQL Server 2005 DB File)
I have SCOM 2007 R2 in our environment and I am facing an issue that there is not description for alert "DB File Space" (SQL 2005). Can anyone please help me to fix this.
View ArticleSQL Server CONTAINS and parentheses usage with wildcards
We have a SQL query that returns different results depending on whether the query terms are in parentheses or not and we cannot figure out why this is the case - see below SELECT*FROM dbo.TABLE_X...
View Article