Viewing 9 posts - 16 through 25 (of 25 total)
Thanks for you help....I guess I was having trouble telling you guys what I really needed. I could see it in my mind but hard to convey in words....
April 8, 2009 at 1:37 pm
Sorry about the title...but this is the correct way to get what I wanted. Your way still left off the end numbers.
SUBSTRING(col,PATINDEX('%[^0]%',col),10)
April 8, 2009 at 1:12 pm
05380101010000
05380101020000
05380101101000
05380011103000
April 8, 2009 at 12:30 pm
I am pulling them like this:
SUBSTRING(REPLACE(LTRIM(REPLACE(col1, '0', ' ')), ' ', '0'), 7, 3)
This works for the the first two numbers but not for the last two.
Outputs the following:
101
102
101 but...
April 8, 2009 at 12:20 pm
I got this backup file from some accounting software I use.
January 16, 2009 at 1:36 pm
I get the following error....Server: Msg 3242, Level 16, State 1, Line 1
The file on device 'F:\ponic.bbk' is not a valid Microsoft Tape Format backup set.
I guess there is no...
January 16, 2009 at 1:04 pm
Do I have to modify this trigger to work with my database? When I try to run the trigger in SQL2000 it blows syntax errors? Can anyone help?
Sorry...
October 2, 2008 at 7:49 am
Viewing 9 posts - 16 through 25 (of 25 total)