Quantcast
Channel: SQL Server Database Engine forum
Browsing all 5123 articles
Browse latest View live

Error 500022, no idea about error

I have no idea about below error:Error 500022, severity 16, state 1 was raised, but no message with that error number was found in sys.messages. If error is larger than 50000, make sure the...

View Article


Regional settings is not effecting in SQL Server

Hi All,I made changes to the regional and language (made decimal = ,) of the windows server 2008 R2 Standard but the database still not accepting comma as a decimal point.Tried restarting the SQL...

View Article


SQL Server Documentation

Hello ExpertsI am new to this SQL Server Documentation process and I have been assigned to document our servers. My question is what information and specifications of the servers should be included in...

View Article

Check non-clustered index creation date

Hi all~~ are there any method we can check the creation date of the non-clustered index ??

View Article

TFS 2012 Database /Project Collection Restore in attached state

My Question is:I consider tfs app server failover scenario:I have backuped attached tfs collections (databases). I cant afford to detach for each backup. If app server will crash I should recover the...

View Article


Automatic shrink job

Dear All,I wanted to create a job in SQL which would automatically shrink a Transactional log file or files when the transactional log backup gets to a particular size please?Thank you in advance!

View Article

What is Difference Between Count(), Scope_identity(), @@identity

Dear sir/madam.I have confusing when I am using Count(), Scope_identity(), and @@identity, these all functions have same work to return the last/ maximum value which is produced by the identity column....

View Article

Ad Hoc Distributed Queries

Hello ExpertsI was trying to enable my 'ad hoc distributed queries' using sp_configure 'show advanced options', 1; RECONFIGURE; sp_configure 'Ad Hoc Distributed Queries', 1; RECONFIGURE; GObut I am...

View Article


Image may be NSFW.
Clik here to view.

Having trouble while trying to attach an existing database in SQL Sever 2005

I'm getting this error message while I try to get some database file attached which was previously detached from MS SQL Server 2005. Anyone here who can guide me to make a solution for this??Thanks in...

View Article


To Find the deadlock

Hi,it is possible to find the DEADLOCK with out using sql profiler and DBCC trace on.if any sql store procedure or any sql server query to find the sql server deadlock.Thanks..,

View Article

Stored Procedure Contents Getting Deleted Randomly

Has anyone had any experience with the contents of a stored procedure getting deleted?  The object is still visible in object explorer, but when you go to modify the contents it is empty.I just started...

View Article

Create task schedule in SQL job

Hai,I have in windows Task Schedular a task that runs every night. Is it possible to create in sql 2008 a job that will start that Task Schedular task?Can you give me an example how to do that? Is that...

View Article

security patch MS11-049 needed for sql 2008 R2 SP2

My Database engine version is:SQLServer 2008 R2(SP2)- 10.50.4260.0(X64)   Jul 11 2012 15:47:13   Copyright(c) Microsoft Corporation  Enterprise Edition(64-bit)onWindows NT 6.1<X64>(Build...

View Article


Cannot start SQL Server 2008R2 service on Windows 7 laptop

My SQL Server instance on my laptop was working fine.  After bringing my laptop home last weekend and connecting through my work's VPN and then bringing it back to work on Monday, it now cannot start...

View Article

Transfer data from a table to another table

Hello I want to transfer data from a table in one server to another table in a different server, I want to do this on a nightly job, what will be the best way, please advise, thank you.

View Article


Merging Suggested Indexes

Good morning,I've been looking at some query plans this morning to try and improve the performance of some of our longer/slower queries.I'm wondering if there's a way to use the information from the...

View Article

AlwaysOn Async to Sync to Async

Hi all,SQL Server 2012 or 2014, we can have primary replica and secondary replica in asyncronous mode, it is possible to switch from async mode to sync mode on the fly? And then back to Async? I mean...

View Article


Collation trouble with linked servers.

I have linked a database in a SQLServer2012 (11.03.3128) to a SQLServer 2005 (9.0.3042) databaseThe databases in question use the following collation:2012: Latin1_General_100_CS_AS2005:...

View Article

SQL Server 2008 R2 Memory Pressure

I have a SQL Server 2008 R2 Standard (x64 bit). It has 64GB of memory, but memoryclerk_sqloptimizer consumes about 36 GB. How should I clear it and identify what cause the growth of...

View Article

Msg 16943, Level 16, State 4, Line 27: Could not complete cursor operation...

IF EXISTS (SELECT * FROM sysobjects WHERE xtype = 'U' AND name = 'AKG111') BEGIN DROP TABLE AKG111; PRINT 'Table, AKG111 is dropped'; END GO IF EXISTS (SELECT * FROM sysobjects WHERE xtype = 'U' AND...

View Article
Browsing all 5123 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>