Viewing 15 posts - 55,696 through 55,710 (of 59,067 total)
Y-e-e-e-o-o-ow! Cursors, Ali? You don't need cursors for this... James and Tomm are correct... import the whole file into a very wide staging table and then have a process for...
July 20, 2007 at 5:03 pm
Guess I don't understand... Oleg's code seemed to work fine for all conditions according to what the OP wanted... here's the code again...
select
replace(ltrim(replace(data,'0',' ')),' ','0')
from @Temp
July 20, 2007 at 4:57 pm
That's cool... you should post the site in the Jobs forum with that info... you'd be surprised at how many bites you get. You can even do it a couple...
July 20, 2007 at 8:15 am
Heh... I guess I'll never understand that...
Rainer, what say thee? It's always an interesting topic... why is it that your users are allowed to create views without going through...
July 20, 2007 at 8:13 am
Yep, kinda figured that... was hoping you would post the actual record layouts...
July 20, 2007 at 8:07 am
Heh... kinda what I thought... some things just don't change. Thanks Michael.
July 20, 2007 at 8:05 am
If it takes 4 minutes to open such a simple cursor, you still think cursors are good for something?
I did't get much from...
July 20, 2007 at 7:55 am
1. It's a cursor
(Seriously)
2. It's XML
(Pretty sure cursors and XML don't get along so...
July 19, 2007 at 10:51 pm
Go to edit a post and then click on the delete button at the bottom...
July 19, 2007 at 10:47 pm
By the way... these new columns should be "computed columns"... not real ones. Computed columns can be indexed if they are deteminate and they're self updating...
July 19, 2007 at 10:46 pm
Different slant on the month/year...
SELECT RIGHT(CONVERT(CHAR(10),GETDATE(),103),7)
July 19, 2007 at 10:44 pm
Nope... not your fault, Surya... you had a problem, you described all the symptoms, and we all missed it.
We should be apologizing...
July 19, 2007 at 9:13 pm
This is a "quadruple post", now, ALI... recommend you don't do this again...
July 19, 2007 at 9:07 pm
Ali... this is the 3rd formum you've posted this same question on here at SQLServerCentral... you'll find that it makes folks pretty mad for a lot of reasons and I...
July 19, 2007 at 9:06 pm
Viewing 15 posts - 55,696 through 55,710 (of 59,067 total)