Viewing 15 posts - 48,781 through 48,795 (of 49,563 total)
Image stores binary data, not text. For storing large amounts of text data use the text or ntext data types.
March 14, 2007 at 12:33 am
select suser_sname()
This is assuming they're using windows authentication to connect to the server. If thery're using sql authent, then there's no way I know of to find the windows login.
March 13, 2007 at 6:40 am
Don't know about the first or last. The error says there's a syntax error near '-', but there are no dashes in what you've posted.
There's also a syntax error in...
March 13, 2007 at 6:38 am
No, I meant a real table. Depending whether you need the variables global across all connections or global across all queries on a single connection you could have aa spid...
March 13, 2007 at 2:45 am
The security around the metadata has been changed from 2000 to 2005. Only if a user has some right to an object can they see it in the system views.
March 13, 2007 at 12:42 am
Back the database up and restore it to a 2005 server. The db will be converted during the restore. Update all the statistics afterwards, if you can.
You should check afterwards...
March 12, 2007 at 2:15 am
Any scheduled jobs that corresond to the slowdowns? Either on SQL or windows scheduled events?
March 9, 2007 at 2:01 am
I don't think I need to add serializable isolation as I will want my select statement to see the commited transaction so it doesn't insert a duplicate record.
I'm not sure...
March 8, 2007 at 3:41 am
I've before now left profiler running for a full day without issue. Just make sure you apply enough filters to get just what you're interested in (in this case, executions...
March 8, 2007 at 2:55 am
Can't you remove the duplicates?
Regarding profiler, can't you leave it runing for some time against the prod database? It would be best to catch the cause of the duplicate calls,...
March 8, 2007 at 2:03 am
If you're using 2005, you should be using the ALTER INDEX ... REBULD command, rather than the old DBCC DBREINDEX
March 8, 2007 at 1:38 am
Since you have your check with(nolock) and there's no transaction, it's quite possible for two calls at the same time to not find the record and then both insert it....
March 8, 2007 at 1:07 am
What this message means is that SQL issues an IO to windows and has not received a completion notification in 15 seconds.
A 15 sec delay on IOs is a...
March 7, 2007 at 2:05 am
You don't need to update statistics after doing dbreindex. DBReindex updates the stats as part of its operation. IndexDefrag doesn't.
March 7, 2007 at 1:43 am
Viewing 15 posts - 48,781 through 48,795 (of 49,563 total)