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

Data discrepancy in SQL server 2012 RTM (version 11.0.2100)

Hello All,I am using a Server where SQL Server 2012 RTM (11.0.2100).I have a table(ABC) having columns 44 which contains 299 million records. There is column store index present on that table which...

View Article


Occasional deadlock when deleting rows from table 1 and inserting rows into...

Hi,I am getting a deadlock in SQL Server. I have attached the deadlock report from the SQL Server error log below:deadlock-listdeadlock victim=process3ff644cf8  process-list   process...

View Article


Cant resolve Deadlock

hey, i got a deadlock problems which im trying to solve for a few days now i got this update command on a simple table :"UPDATE [{0}] SET [IMEI]=@IMEI, [IMSI]=@IMSI, [Version]=@Version,...

View Article

Trigger for High privileage users

Hi Team,I am in a Process of creating Database and server level Auditing, so requirement is we need Aduit High Privileage users activities and same them to a table? Do we have any triggers scripts for...

View Article

Re:Backup Issues

i have 2 servers1st server ip is 0.0.0.98 this server having C,D Drives only.2nd server ip is 0.0.0.99 this server having C,D,E Drives ..i am log in to 0.0.0.99 server tire to take the backup through...

View Article


SQL Server 2012 Management Studio: I cannot create a SQL Server Express...

Hi all,I have SQL Server 2012 Express installed in my "Windows 7" PC that is part of Windows System in our Computer Network System. In the SQL Server 2012 Management Studio (SSMS 2012) of my SQL Server...

View Article

SQL 2000 export logins and database role mapping

hi allI am going to migrate logins from SQL 2000 to sql 2008are there any script that I can script out the login,database users, and database role mapping?thanks

View Article

Where Backup Failed history get stored in system databases??

Is there any tables in msdb db or in other system db where backup failed history get logged except error log.I am using SQL Server 2008 R2.

View Article


MS SQL Login information?

Hi All,How can we find the last login information in sql server 2008, it means when was the user trying to login in to sql server.Thanks,SAAD.

View Article


Is io stalls on sys.dm_io_virtual_file_stats as bad thing?

I am confused by this counter. It says I have a high percentage of IO stalls. What does this mean? It seems to me that this is the ratio of reads/writes in a database file compared to all the database...

View Article

How do I capture how many times an event happens in my table?

My table logs the execution of SSIS packages with results as Skip, Run, and Complete.  Ideally I should see two rows for each package, one for run and one for complete but in some cases I see run, run,...

View Article

t-sql question

I am trying to create a t-sql script when ever blocking happens with the following condition in a SQL db I want to get alert: If there is a session blocking another session for more than 5 minutes then...

View Article

io latency from sql server

Hi All,I want to find out IO latency for all files. For that i would like to automate the below script taking dbid and fileid as parameter for sys.dm_io_virtual_file_stats(null,null) function. How to...

View Article


Restore Model system Database in Sql Server 2008/R2

Dear Gurus,I'm a new bie to MS-SQl server. I'm trying to restore "Model" system database from the backup, but ending up with error.I used /m /t3608 and /t3609.Could you please help me in fixing the...

View Article

Image may be NSFW.
Clik here to view.

Not Able to Apply conditions Properly???

hi everyonei am facing a problem in creating a query,if anyone can help me,it will be reallu helpfulactually i am having a table consisting of two column  as shown aboveColumn name:1)   PhaseName...

View Article


Microsoft OLE DB Provider for SQL Server cannot get all the schemas?

I use MS SQL Server 2008 for Database Development. Now, I need to get all the tables in SQL Server via OLE DB For SQL Server. However, after querying, only one system table called sysallocunits is...

View Article

Control Access to SQL Server Visual Designers

Is it possible to control access of a user to the visual table designers of SQL Server e.g. the table designer or the view designer. What i want to achieve is that the changes to the SQL Server objects...

View Article


Simple queries taking 15+ seconds to run

Hi,In our customer's environment, Save, Find operations from the Web Applications takes 2 seconds to 2 minutes.There are number of SQL statements fired before the actual Save (PreSave) using some...

View Article

SQL Server 2005 became "no responding" until I restart windows 2003

i am not getting any error in the SQL Server Error log or Event Viewer, no blockings on the server. i have monitoring the PERFORMANCE DASHBOARD tool in that also memory usage and every thing showing...

View Article

sql full text search shows up on blocked process report

Ran the following SQL full text search on one of our larger repos.Select F.[KEY] AS KEYWORD, F.[RANK] AS KEYRANK FROM  CONTAINSTABLE(O2545, FileText, @FileText, 50) F50 rows returned in two minutes 38...

View Article
Browsing all 15872 articles
Browse latest View live