Viewing 15 posts - 6,871 through 6,885 (of 7,636 total)
As I said, the problem is in your data definitions. Please post them if you still want any help.
Here is a link that explains how to get the best...
May 24, 2008 at 8:27 pm
It's still CHARINDEX, you just have to be more persistent:
Select CharIndex( @string, '_', CharIndex(@string, '_') + 1)
This returns the second occurrence of "_" in @string.
May 22, 2008 at 9:46 pm
Well, it parses just fine for me in SQL2005, so it must be in your data definitions.
May 22, 2008 at 9:04 pm
Nice job, Jack. This could serve as a textbook example of how to provide technical support.
May 22, 2008 at 8:54 pm
As it happens, I was just working with a customer today on CLR assemblies, and it seems that the key/login is supposed to be used to "Sign" the assembly when...
May 22, 2008 at 3:43 pm
I agree, it's confusing. I am not sure what the answer is either.
May 22, 2008 at 11:39 am
Hmm, good point. I am not really sure why then. Maybe it just always does that after an IF EXISTS statement because it has to do that for...
May 22, 2008 at 11:23 am
I believe that you have to make the login the Owner (or executor?) of the Assembly
May 21, 2008 at 7:18 pm
There is also this view which was included in the daily emailer just last month:
/*
vwTableInfo - Table Information View
This view display space and storage information for every table in...
May 21, 2008 at 7:09 pm
Sergiy (5/20/2008)
What about NOT EXISTS?
Exactly the same as NOT IN for this case in SQL 2005. In general that is what I usually see for SQL 2005.
May 20, 2008 at 9:43 pm
OK, I just checked it myself. It's because the step before just CREATE-d the table. DML statements in the same batch will not be able to see it...
May 20, 2008 at 4:55 pm
Show us the whole script. It's probably because of something that happens the step before or the step after.
May 20, 2008 at 4:51 pm
samata.putumbaka (5/20/2008)
This is another way of the same workaround with better performance:
Interestingly, on SQL 2005, the first query is marginally faster.
May 20, 2008 at 4:20 pm
SYSJOBHISTORY is only written to on completions: step completion and Job completion. To get current status you will have to start in SYSJOBACTIVITY.
May 20, 2008 at 5:41 am
LEFT(std_acc, 9)
But why are you adding characters onto a 9 character field if you only want it to be 9 characters?
And why are you using a cursor for this?
May 19, 2008 at 8:50 pm
Viewing 15 posts - 6,871 through 6,885 (of 7,636 total)