Viewing 15 posts - 196 through 210 (of 443 total)
Nothing is wrong. That's what it is supposed to do.
June 21, 2010 at 9:48 am
The row you posted starting with '28129' does not contain the string "Target Domain" so this:
CharIndex(''Target Domain'', Field9)
will return zero, and the subsequent expression:
Pos3-Pos2-15
will be negative
June 8, 2010 at 9:46 am
May 19, 2010 at 8:45 am
gniyazov (5/18/2010)
The query looks good, I think. Run it and see if data is updated.
I think he has, and it's not working. That's the problem.
May 19, 2010 at 2:12 am
Check out SCOPE_IDENTITY in BOL here
May 18, 2010 at 4:57 am
Another question, what do you do to verify that the update has occurred?
May 18, 2010 at 2:47 am
Given your table definition I can see no reason why you cannot do this.
One question, are there any triggers on your Work table?
May 18, 2010 at 2:46 am
D.Oc (5/13/2010)
Steve should ban those words (URGENT or IMMEDIATE HELP or NOW) to appear in the title.
Particularly when they are in upper case.
Nice editorial Grant, a polite rant if ever...
May 13, 2010 at 2:47 am
Wilfred van Dijk (5/5/2010)
May 6, 2010 at 2:33 am
robshobs (5/5/2010)
May 6, 2010 at 2:30 am
An alternative, using DATEADD and CONVERT
select CONVERT (varchar(8),DATEADD(second,@duration,0),114)
May 5, 2010 at 8:31 am
... are you trying to do formatting in SQL that would be better done in your application or report?
April 30, 2010 at 9:44 am
Your output does not match your supplied data!
You have a row for filename '12-5-09.pdf' in your table which doesn't appear in your output, and two rows for filename '12-4-09.pdf' in...
April 30, 2010 at 9:41 am
Alternatively, using a Tally table (see link in my sig) to avoid the loop:
declare @x nvarchar(100)
set @x = 'AZ az' + char(160) + '01' -- note: 160 is an html...
April 30, 2010 at 3:21 am
CirquedeSQLeil (4/20/2010)
Though the brackets will correct that issue, I recommend not including special characters in server or database names (_ - etc)
... or in table names, column names, procedure names...
April 22, 2010 at 9:49 am
Viewing 15 posts - 196 through 210 (of 443 total)