Viewing 15 posts - 331 through 345 (of 522 total)
If your table is in a file group with multi files, the Extent Scan Fragmentation does not reflect the real fragmentation. You can ignore this value.
October 24, 2005 at 2:45 pm
In your database, are all objects owned by one owner e.g. dbo?
In your webapp, does it only call SPs?
If both are true, you can find all the SPs called by the...
October 21, 2005 at 7:04 am
You can turn on the following trace flag
DBCC TRACEON(3605)
DBCC TRACEON(1204)
Next if dead lock happens again, the deatil inforamtion about involved resources will be logged in error log.
October 19, 2005 at 2:55 pm
You have to redo the transactions that after the update statement manually, i.e. re-enter /modify the data from your client app.
October 19, 2005 at 6:58 am
Don't know too much about your business rule. But the following works. You just need to use different FK name for the two references. And based on your information, your...
October 14, 2005 at 7:52 am
If the databasse always hang in the same time everyday, there may be some SQL jobs or windows tasks running around that time and caused the issue.
October 13, 2005 at 7:11 am
Try this:
SELECT accountID
FROM accountsTable
WHERE archived = 0
AND accountType = 1
AND createdByUserID = 1000251
UNION
SELECT accountID
FROM accountsTable
WHERE archived = 0
...
October 13, 2005 at 7:01 am
It's too early to talk about any solution without knowing the root cause of the issue. As Ray said, you need to know what action(s) is slow, insert or query (no...
October 13, 2005 at 6:58 am
There is a good article about this for SQL 2000. http://www.sqlservercentral.com/columnists/cmiller/cannotgeneratesspicontext.asp
Maybe it can help.
October 11, 2005 at 7:36 am
"General network error. Check your network"
When SQL profiler or SQL Analyzer lose its connection to sql server, it will report this error. It does not matter the server is on...
October 11, 2005 at 6:57 am
You are talking about two types of users. One is sql server user (login), another is your application users.
Your app user information can not captured by sp_who2 or even sql...
October 6, 2005 at 7:37 am
It's a best practice to always explicitly give the column names in the select and insert statement.
Though you checked everything, either the column order of the table is chanegd or...
October 6, 2005 at 7:15 am
There is a way to do this:
master..xp_cmdshell N'isqlw -S YourServer -d Master -E -i "FullPathScriptFileName" -o "FullPathOutputFileName"'
FullPathScriptFileName is the script file. The result is in the FullPathOutputFileName.
The drive and file...
October 5, 2005 at 8:02 am
Viewing 15 posts - 331 through 345 (of 522 total)