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 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 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 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 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 ArticleSQL Server 2012 Crashed
I restarted my computer after a query execution and the MSSQLSERVER service keeps Starting or Change pending... Status (the first one in Services and the Second in SQL Server Configuration Manager)I...
View ArticleHow to restore database from SQL server 2000 to SQL server 2012 version
How to restore database from SQL server 2000 to SQL server 2012 version
View ArticleRESTORE DATABASE fails, but only if run from within TRY/CATCH block.
Hi everybody,I'm trying to restore a DB using the following script:BEGIN TRY RESTORE DATABASE [20130717_SERVER4_NS_dat] FROM DISK = N'c:\NS.bak' WITH FILE =1, REPLACE, MOVE N'NS_dat' TO...
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 ArticleRestoreDatabase Failed
Hi,I am getting below problem while restoring the AdventureWorksDW(2008 R2 Version) to 2012TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore of database...
View Article