call 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 ArticleCannot obtain schema rowset ERROR - from 2008 64-bit to 2005 32-bit
Error Msg 7311:"Cannot obtain the schema rowset "DBSCHEMA_TABLES_INFO" for OLE DB provider "SQLNCLI10" for linked server "Server2005". The provider supports the interface, but returns a failure code...
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 ArticleSQL Server 2012 - frequent "System Health Monitor Thread: Operating system...
We have recently installed a brand new Windows 2008 R2 server and installed SQL Server 2012 (and SP1) on it. We have moved a couple of databases from SQL 2005 to it. Frequently the following is written...
View ArticleSQL Server 2012 - FileTable FileShares getting out of sync.
It's strange to me that I can't find anyone with the same issue, because it's happening to me in two different though similar environments...I am creating FileTables and FileShares with non-transacted...
View ArticleSuppress Full Text Catalog informational messages?
I see alot of the following messages in our SQL Logs:Changing the status to MERGE for full-text catalog "ftConsolidatedIB" (8) in database "DeviceInfo" (24). This is an informational message only. No...
View Articlequestion
Hi all,The processor is in 100% spin, nobody can get in. How do you get in and take control
View Articlepivot with row_number()
CREATE TABLE [dbo].[data]( [id] [int] NULL, [branch_id] [int] NULL, --[branch_loc] varchar(20), [employee] [varchar](20) NULL, [employee_sal] decimal(32,2), ) ON [PRIMARY]insert into...
View ArticleSQL Memory
I am running SQL Server 2008 R2SP2 x64 16GB RAM Max Memory 13500 single application on server.Every so often (once a month - Random time) we get a major bottleneck on server. What can I check to...
View Article