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

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


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


List ALL SQL Job schedule

Hi ALLare there script to list all the SQL Job schedules?thanks.

View Article

Removing ndf files

Hi All,I have partitioned a table with 5 different NDF files.Now, I need to repartition with a different column. How will I bring back all the ndf data to the PRIMARY filegroup?DBCC SHRINKFILE...

View Article

how to multi-target for vista, windows 7 and windows 8 using sql server express

the original application was built for .net 3.5 using sql express 2008 mdf file with connect string ofData Source=.\SQLEXPRESS;AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;Connect...

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

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


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

How can I get that details of current error log?

I have not the permission to run sp_readerrorlog.Because security admin rights are not provided only db_creator is given.How can I get that details of current error log?Thanks

View Article


sql server 2008 R2 Transaction logs rowing abnormally

Hi All,Can anybody tell me how to find database queries run by users responsible for abnormal log growth in sql server.RegardsRahul Trehan

View Article

CHECKTABLE found 0 allocation errors and 4 consistency errors in table...

Hello,I've detected this database consistency problem in integrity check. This error was appeared since may of 2012 therefore the backup was overwritten. Can you help me about the solution about this...

View Article


Master DB location move error

I was trying to move the master file location from C to D drive and I followed below instructions but when I tried to start the service I got the message that service can be started on the ---I am...

View Article

Memory / virtual memory problem on Win2K8 server

Greetings everyone ! This kind of trouble and question. I have Windows 2008 R2 Standard server installed on VM host on 1 vCPU (4 cores), 5120MB vRAM and 600GB vHDD virtual machine. Server acts as SQL...

View Article

Sch-M and Sch-S deadlock related to partitioned tables

Hi,Very anoying scenario... We have large partitioned table and we use staging table loads, and partitions sliding in and out of this table (part of the process is also rebuilding indexes on the...

View Article
Browsing all 12554 articles
Browse latest View live


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