Scripted SQL Agent Job - Max number of Steps
Hi thereI have a scripted SQL agent Job that has 33 steps in it that was scripted out. When Trying to recreate the job on another instance it is failing with the following error message:Msg 14266,...
View Articlemore blocking
hi team,There are frequently blocks occurred and automatically released by sql engine but db and app's side no issue. but SAN having some problem.how we can resolve this problem from as DBA.
View ArticleA connection was successfully established with the server, but then an error...
Today I could not log into my local SQL Server 2012 instance with the following error message A connection was successfully established with the server, but then an error occurred during the pre-login...
View ArticleAdded SQL Server Job Step Runs But Does Not Execute Stored Procedure
I have an existing SQL Server Job to which I added a job step in between step 1 and 3 to execute a stored procedure. Although the job history indicates a successful execution of the job, the stored...
View Articleerror: There have been XXX misaligned log IOs which required falling back to...
We are restoring several databases every night from a production server to a reporting server.We just replaced the reporting server with a new Windows 2012 standard edition server.The disks are...
View ArticleWe add to clustered index in order so why is table fragmented?
Here's an interesting (maybe) case!During an ETL process we create and populate a fairly large table.It has a non-unique clustered index, and we carefully sort the data and add it in sorted order....
View ArticleExtended events - Ring buffer and event_file show different timestamp
Hi,When running extended event session to identify locks i noticed that the ring buffer target set the timestamp according to getutcdate() while event_file set the timestamp according to getdate().Why...
View Articlemssql query
Hi People, Am quite new to mssql, am trying to get an idea how to write a query for this question '' Select all students with a lower than average Exam mark, showing their name, ID and exam mark''...
View ArticleWhy my SQL Server is using MSDTC?
Hi,I stopped DTC service on SQL Server and error message appeared in SQL Server logs indicating that DTC is unavailable. When I started DTC, the message did not appear anymore.I discussed with our...
View Articleimporting pipe delimited files without creating tables
Hi,i am looking to import about 40 pipe delimited files, each will have 5 or 6 columns, i dont want to create 40 tables and 200 fields, is there way to import the files without first specifying the...
View ArticleSQL Disk Dependency problem on SQL 2008 cluster including errors
Hi All,I have a SQL 2008 cluster running with 2 nodes, and what I have recently noticed is that a snapshot creation code has been failing. I checked the cluster dependency property on the SQL...
View ArticleLost All User Database Permissions
A tool used to copy permissions unfortunately wiped out permissions for users. The logins and respective database user accounts are still there but the permissions are gone. I was wondering if there is...
View ArticleGetting error unable to connect the remote server
HiI getting this error ("unable to connect the remote server" while submitting the script on sql server) when I save the application from client side. Please advice for the same......
View ArticleIntel(R) Xeon(R) CPU E5645 is comaptible with SQL Server 2005 .....?
Hi All,I am getting an error message as showing below when I am trying to install SQL Server 2005 on my Dell R710 Intel(R) Xeon(R) CPU E5645. Is the processor supporting SQL 2005..?ErrorThe SQL Server...
View ArticleQuery in the maintenance plan tables does not reflect reality
Hi all, I am using SQL Server 2005 Enterprise Edition.I want to get information about my maintenance plan using T-SQL but the results I get does not show the real maintenance plans state.Here is my...
View ArticleUnderstanding sliding window technique for partitioned tables - SQL Server 2012
Hi,reading this article http://blogs.msdn.com/b/sqlcat/archive/2013/09/16/top-10-best-practices-for-building-a-large-scale-relational-data-warehous.aspx?wa=wsignin1.0where it is reported "Always keep...
View Articleautomate sql scripts
HiHow can i auotmate the SQL Server scripts and route this output to mail.Select @@versionRegardsMrvsMRVSFLY
View ArticleQuerying InLine Table Valued Function: Buffer provided to read column value...
I put together an inline table valued function to produce a table. I have 3 stored procedures that select from this function. 1 takes the results and concatenates to a single column (let's call it...
View ArticleThe conversion from date to BINARY is unsupported. ERROR
I try to query database, sometime it can query and sometimes it cannotAnd It show error belowcaused by: Unable to retrieve result from data source "xxxxxxx" during query execution. Failed query:...
View Article