Viewing 15 posts - 51,016 through 51,030 (of 59,078 total)
Here's why I say NOT to use ISNUMERIC as an "IsAllDigits" function...
[font="Courier New"] SELECT ISNUMERIC('143563d21'),
ISNUMERIC('143563e35')
----------- -----------
1 ...
April 20, 2008 at 9:15 pm
colin Robinson (4/20/2008)
April 20, 2008 at 4:55 pm
It would appear that the value for the "val" column is incorrect thoughout the table. It should not have trailing spaces. I'd recommend finding the root cause for...
April 20, 2008 at 4:51 pm
SELECTs aren't allowed in calculated columns. Nothing you can do about it. Use a view, instead. Be careful when you write the view... improperly written views can...
April 20, 2008 at 4:47 pm
john.arnott (4/18/2008)
It allows for a list of arguments, the first of which evaluates to not null being returned.
Coalesce is ANSI standard; ...
April 20, 2008 at 4:45 pm
Dinesh,
How about providing some additional samples where the TradeReference column contains the Alpha characters you're talking about?
April 20, 2008 at 4:42 pm
Nope... ISNUMERIC treats $ signs, decimal points, and a whole bunch of other non-digit characters as if they were numeric. Never use ISNUMERIC to try to create an IsAllDigits...
April 20, 2008 at 4:40 pm
Wow... I wonder what the real intent of the code is...
The following part of the code is poorly written...
[font="Courier New"]IF @Center = '' OR @Center IS NULL
...
April 20, 2008 at 4:36 pm
James_DBA (4/20/2008)
April 20, 2008 at 12:34 pm
David.Poole (4/20/2008)
April 20, 2008 at 12:32 pm
Just checking... you mean you have no record layout information for this? We can guess that the first 8 digits are in the yyyymmdd format, and we can guess...
April 20, 2008 at 9:37 am
Heh...Again, I thought we were talking about "exceptional" DBA's. You posted...
I would suggest that any Exceptional DBA needs:
Sound knowledge of all "core" aspects of a DBA's job
Inside-out knowledge...
April 20, 2008 at 9:18 am
Michael Valentine Jones (4/18/2008)
First, locate all the SQL Servers.Then, look at each SQL Server to see what databases are on it.
Heh... having one of "those" days, Michael? 😀
April 18, 2008 at 6:09 pm
Matt Miller (4/18/2008)
I'd think it's because you're using an example that doesn't require materialization.
I agree... even with a CTE, I'll try to return as few rows and columns as...
April 18, 2008 at 5:29 pm
Viewing 15 posts - 51,016 through 51,030 (of 59,078 total)