Viewing 7 posts - 421 through 427 (of 427 total)
From BOL:
' character_string '
Is a string of Unicode character data. character_string is sysname.
and
sysname is functionally equivalent to nvarchar(128).
There's your limitation of 128 characters.
January 4, 2008 at 3:02 am
I've added 2 more hints in the list:
- Check for existence(2)
- Check for non-existence
December 14, 2007 at 4:41 am
Thank you Scott.
I've tried to undo my wrong in the list. Any better suggestions?
It's been wrong in my list for a long time already. Luckily not many people in...
December 13, 2007 at 8:50 am
select
mem.FirstName,
mem.Surname,
mem.Allocation as Allocated,
isnull(usage.[Quantity],0) as UsedUp,
max( 0, mem.Allocation - isnull(usage.[Quantity],0)) as LeftOver
from dbo.MemDetail mem
...
December 12, 2007 at 2:06 am
Scott Coleman (12/11/2007)
select 1
from dbo.Table t
where nullif( t.mandatorycol, t.optionalcol) is null
Am I missing something, or...
December 12, 2007 at 1:05 am
Out of curiosity, wouldn't the following have done the trick for you too?
UPDATE s9
SET
institutionname = x.surname
FROM dbo.s9ge s9
INNER JOIN (
...
December 11, 2007 at 7:40 am
I fully agree that you should first identify the most called/heaviest queries in your database and concentrate mostly on optimising those. Your objectives can be any combination of: less cpu-load,...
December 11, 2007 at 7:14 am
Viewing 7 posts - 421 through 427 (of 427 total)