SQL Agent - UPDATE OPENROWSET not working
Hello,I've deployed an SP to export some data to an Excel sheet (using OPENROWSET and Microsoft ACE provider) which works flawlessly when launched it from a query window using my admin credential....
View ArticleMsg 8624, Level 16, State 1, Procedure broadcast_item_delete, Line 39...
I have a very simple procedure which is crashing with this error. we are using sql2008. the FK to table rashim_titles is causing the problem as when I drop the FK it worksthe crashing statement:exec...
View ArticleProblem with backup MS SQL 2008 when database has 2 or mare logs
Hello!I have database, that has 2 ldf. I try to do backup log via a program that uses ODBC Driver (SQL Server Native Client 10.0 ODBC ). But the backup file is not created. And application doesn't...
View ArticleRAISERROR in SQL 2012 since SQL 6.5
Hi everyone,we must to upgrade SQL 2008 R2 to SQL 2012, but all the RAISERROR in stored procedures are in the sintax:RAISERROR 50001 'Error during execution of task XXXXXX'Obviously, this sintax is not...
View ArticleDrop Clustered Index when there's no other index's taking a long time.
Hi All,I'm testing the time it takes to Drop Clustered Index when there's no other index's and see that this operation still takes quite a while. The table I'm working with has 500M records and no...
View ArticleTxn log is not clearing in SIMPLE
Hi,I tried to repro a scenario for log-clearing the log in SIMPLE recovery model. I know if there is an ACTIVE TXN, and if we issue a CHECKPOINT in SIMPLE recovery model, nothing happens i.e. 0 VLFs...
View ArticleSQL server, Error:18456
I am trying to delete old jobs and maintainance plans I get the following error: SQL server, Error:18456-Rick- This message was created using recycled electrons...
View ArticleQuestion on disk layout on SAN
One question where I would be needing your Inputs. Environment information:Windows 2008 R2.SQL Server 2008 R2. Table partitioning is not possible for a better layout. This is regarding the drive...
View ArticleLinked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Good afternoon,I have the following issue that i can't seem to "fix":I have 2 instances: Instance A (primary databases for my application) and Instance B (relational databases for Reporting...
View ArticleSQL join 2 date tables
Hi,I am attempting to join 2 header tables "receipt" and "plan" at date (receiptdate=date)I'm not getting an output and I suspect a join issue - any ideas:SELECT dbo.tbReceipt.ReceiptDate,...
View Articleregarding temp DB error
Hi AllOne of my client was getting an error while running few scripts, but he was not able to displsy the script. Can anyone guide me in this scenario as it is crucial for me.Below is the error :...
View ArticleCopy Data Between Two Servers (Prod - Dev)
Hi, can someone let me know the best way to copy the data betweens two diffrent servers (prod - dev). i have a table which has like 50000 rows on dev server, based on a column called symbol and...
View ArticleLinked Server on top of Likned Server
Hi All,I have a linked server setup on SERVER-A to pull data from our OLTP server using an OLEDB provider and it works fine. The OLEDB provider am using for linked server is only available in 32 bit...
View Articlesql server 2012 will not connect
hi, I recently installed the 180 day evaluation flavor of SQL Server 2012 and everything was running fine until I re-booted the Windows 7 'server'. Now every time I attempt to reconnect the server...
View ArticleOperating system error code 3(The system cannot find the path specified.).
every time i restart the sql server im getting following error.Create file encountered Operating system error code 3(The system cannot find the path specified.)while attempting to open or create the...
View Articleunable to create the user database...
hi team,we are unable to create the user database, we are greeting the bellow error.
View ArticleSQL 2012 Update Statistics Maintenance Plan
Hi AllIs anyone aware of any issues on SQL 2012 regarding maintenance plans for update statistics.I have migrated a system to SQL 2012 from SQL 2008, I created a maintenance plan to update all stats...
View ArticleDetect Windows server memory from SQL Server SSMS
HelloIs there a way to detect what is the memory on a particular server by querying from SSMS? I am not looking for 'max server memory' of SQL, but trying to find out if there is a way to find out what...
View ArticleERROR : Execution of Sql exceeded threshold
hi there: One store procedure on the application was failed and the error message was below:Execution of Sql exceeded threshold.Does anyone know how to configure the threshold on the server...
View ArticleColumnstore index improvements in SQL Server 2014 CPT1 added to SQL Server 2012?
Will the Columnstore index improvements featured in SQL Server 2014 CPT1 be added as a service pack to SQL Server 2012? Specifically the batch mode improvements. We just recently upgraded to SQL Server...
View Article