Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15889 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Restoring .bak file Error

When i adding the back up files(.bak)  into my database by using "Restore Database Option " i got the following errorI didn't understand why this error happens.Please provide me the solution if anyone...

View Article


Is it possible to suspend a session in sql 2000

I'd like to suspend an SPID in SQL 2000. Is this possible? If not is it possible to lower the priority?Chuck

View Article


Is there a FAST way to determine the current state of a job?

I have a stored procedure that runs 1700 merge replication subscription jobs serially every night. After starting each job, it  calls xp_sqlagent_enum_jobs in a loop with a 1 second delay to see if the...

View Article

I am looking for real world read/write ratio information for storage for your...

I am designing tests for back end storage using Dell benchmark factory and MS SQL 2012.  I can configure TPC-C and TPC-E benchmarks in such a way to get any range of read/write percentage to actually...

View Article

Where are my plans?

I have three stored procedures.  SPA calls SPB calls SPC.I exec SPA, and it runs, calling SPB, calling SPC.  Fine.But the DMVs don't seem to have any plans - for SPA and SPB!  A few seconds later I run...

View Article


Poweshell script error: the term 'import-module' is not recognized as the...

I am getting below error when executing a powershell script from sql agent job on a SQL Server 2008 R2 failover cluster. This code executed OK on other sql servers. Code runs fine when executed through...

View Article

SQL server 2012 -Sys tables

Hi,In Sql, which sys table contains database name, table name, field name, field type and field size.I want these all fields in a single Sys table.If anybody knows about this then please let me...

View Article

Default Collation of Sql Server

Hi All,Why microsoft designed default collation is SQL_Latin1_General_CP1, is there any reason on behind? Please explainRaveendra

View Article


Copy SQL Server 2012 database with SMSS

I want to copy a database within the same SQL Server 2012 Developer instance (e.g. from database1 to database1_new). Here are the steps I followed in SMSS * Right click on database > Tasks >...

View Article


Adding a Provider for Oracle in SQL Server 2008

I have a feeling this is fairly straightforward, but for some reason am having a hard time finding something clear cut regarding my situation. I have SQL server 2008 developer installed on my machine...

View Article

Distributed Transactions fail on Linked server

  We get the below error while performing a distributed transaction on linked server. We have several linked servers configured in the source server and all of them succeed with the distributed...

View Article

Does cleanup task affect log chain

Hi there,I have two Maintenance Plans:1) FullBackupdaily at 0:00, oncecontaining a Cleanup Task, that deletes files older than 3 days (.bak)2) TransactionlogBackup daily at 02:00, every 5...

View Article

Report to collect DB information from multiple servers

Hi All,I got a task to collect multiple SQL server instances DB details which located in different locations. Below are informations i want from all the DB instances: Database details:Recovery model,...

View Article


SQL 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 Article

Find High CPU Query

My production SQL Server 2008R2 nearly always 100% CPU usage. How can I find which query makes this? Any SQL scripts or 3rd party tools can be used to troubleshoot this problem?

View Article


Is There Any Common Issue shows from Application Side after SQL Service Pack...

Hi All, I am planning to patch SP4 on a SQL server 2005 standard edition (production server) since the SQL version is 9.0.4053.00 which no longer supported. So far all the SQL instances  in our...

View Article

DBCC SHRINKFILE not recaliming the free disk space in a datafile but throwing...

Hi, Despite this is an huge narration, in order to get a solution, I should mention the background of this database file on which DBCC SHRINKFILE is getting failed.We have a SQL Server database file...

View Article


Insert Exec Performance issue

Hi,I have a procedure which has a code something like set @SQL = 'exec [LINKED SERVER].[db_name].dbo.[SP_NAME] @param_1 @param_2'insert into #temp(...)exec (@SQL)When I execute SP without insert...

View Article

Unable to Explore File Table Directory

Hi,We have defined File Table in our 2012 instance.We are using a SQL Server Log in with SysAdmin privilege. But, if we try to explore the File Table directory using the "Explore File Table Directory"...

View Article

Computer Name\SYSTEM. The command line parameters are invalid. The step failed.

Hello guys, I am working with Microsoft SQL Server 2005 - 9.00.1399.06, I am trying to execute a maintainance plan, a simple one by the way, but everytime i run it, i get this error message 'computer...

View Article
Browsing all 15889 articles
Browse latest View live


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