Viewing 15 posts - 5,206 through 5,220 (of 8,416 total)
If you need to test to see if the current user has access to a database, use HAS_DBACCESS.
March 17, 2010 at 7:21 am
ALZDBA (3/17/2010)
Wouldn't the " DBCC CHECKCONSTRAINTS WITH ALL_CONSTRAINTS " get rid of the untrusted marker?
Certainly would. Of course, you would need a second script to loop around all the...
March 17, 2010 at 7:17 am
vijay.s (3/17/2010)
Yes Paul, But for Smaller String We can use.
:sick: XML string-splitting and a multi-statement user-defined table-valued function with a WHILE loop? :sick:
Ouch!
I'll say it again. XML is the...
March 17, 2010 at 7:15 am
Dave62 (3/17/2010)
Test it? Isn't putting it into production the way to test things? :hehe:
Much more fun that way, yes!
March 17, 2010 at 7:00 am
YSLGuru (3/15/2010)
Thanks for replying; I was kind of surprised there was only one response for this kind of inquiry.
I remember seeing this thread - I noticed that Lutz had answered...
March 17, 2010 at 6:57 am
XML really is a very poor choice for splitting strings. It is hard to do worse.
See http://florianreischl.blogspot.com/2009/09/high-performance-string-split-functions.html for the results of some very extensive testing we did right here...
March 17, 2010 at 6:51 am
It depends, and it is not really something you have much control over anyway.
The following document discusses how to measure performance, and where to focus your improvement efforts.
March 17, 2010 at 6:47 am
Bhuvnesh (3/17/2010)
Paul White (3/17/2010) Rebuilding an index offline acquires and holds a schema-modification lock.
why index offline holds a schema-modification lock ? please explain
Books Online: ALTER INDEX (Transact-SQL)
Table locks are...
March 17, 2010 at 6:42 am
David Nash-367764 (3/17/2010)
March 17, 2010 at 6:36 am
ALZDBA (3/17/2010)
...add the new definition using the "with nocheck" option to speed things up.
But then the constraint will be marked as untrusted, and will not be considered by the optimizer.
The...
March 17, 2010 at 6:29 am
bobmclaren (3/16/2010)
A) Two...
March 17, 2010 at 6:23 am
As you may have guessed, that text is copied from Books Online (the SQL Server help system).
See http://msdn.microsoft.com/en-us/library/ms180797.aspx, and its references.
March 17, 2010 at 6:14 am
I still think your problems would diminish, if not disappear entirely, if you just use the correct data type.
March 17, 2010 at 6:10 am
Andrew Gothard-467944 (3/16/2010)
ESAT ERKEC (3/16/2010)
I think you can use READPAST or WITHNOLOCK hint in the query.
Well, you can ...
On rare occasions it may even be a good idea. However,...
March 17, 2010 at 6:09 am
Viewing 15 posts - 5,206 through 5,220 (of 8,416 total)