Viewing 15 posts - 196 through 210 (of 521 total)
If I am not totally wrong, the behaviour is not due to IsNumeric itself, but to the fact that you can cast this value to money or smallmoney.
Try this:
SET NOCOUNT...
August 7, 2009 at 5:47 am
So I missed the "not" - verrrry tricky! 😀
If it was intended to be tricky, then I admit it was well done.
If not, I assume rephrasing to "ALLOW_PAGE_LOCKS is set...
July 13, 2009 at 2:59 am
I must be missing something:
Documentation states that
REORGANIZE cannot be specified for a disabled index or an index with ALLOW_PAGE_LOCKS set to OFF.
http://msdn.microsoft.com/en-us/library/ms188388(SQL.90).aspx
Also testing it directly in SQL2K5 resolves...
July 13, 2009 at 2:02 am
One thing to note is that the optimizer is more intelligent than in previous versions and of course they are still improving it. So if the optimizer thinks that...
July 6, 2009 at 4:32 pm
Maybe something like this?
SELECT * INTO #temp FROM dbo.SourceTable WHERE
TRUNCATE TABLE dbo.SourceTable
INSERT INTO dbo.SourceTable SELECT * FROM #temp
June 26, 2009 at 1:34 am
Matt Miller (6/23/2009)
I don't know about too complicated....
Just for clarification - I wrote about 3 solutions.
The only one that I said would be complicated is the last one where you...
June 24, 2009 at 12:26 am
I fear you have no other option than using either CLR or dynamic SQL.
Of course you could do somthing like the following in a T-SQL function
June 23, 2009 at 3:30 pm
Tao Klerks (6/23/2009)
Why does the index data get deleted for views but not for non-clustered indexes?
Hi Tao, it actually does get deleted for non-clustered indexes as well.
The sentence is a...
June 23, 2009 at 2:45 pm
Pyay Nyein (6/18/2009)
Yeah, nice one, Chris.
Well, you guys did the hard part 🙂
June 18, 2009 at 10:30 am
thetodaisies (6/18/2009)
please try this. the union is used to get the last record which wll not be returned in the first query
select a.* from
(select ROW_NUMBER() OVER (ORDER BY...
June 18, 2009 at 7:20 am
Tom.Thomson (6/17/2009)
Christian Buettner (6/5/2009)
And I had chosen char(1) instead of nchar(1) because I think...
June 17, 2009 at 5:27 am
Small correction: tempdb can be encrypted using TDE:
When TDE is enabled on any user database, encryption is also automatically enabled for the temporary database (tempdb). This prevents temporary objects that...
June 10, 2009 at 12:27 am
Toreador (6/8/2009)
The best type cannot be one which will not work for a large subset of possible characters (ie any Unicode character)
Why?
June 8, 2009 at 5:15 am
What about creating a set of stored procedures for this?
1. User executes "dbo.spuQueueJob @JobName" via OSQL to "manually schedule" the existing job by adding the job name to a queue...
June 5, 2009 at 4:50 pm
Viewing 15 posts - 196 through 210 (of 521 total)