Viewing 15 posts - 55,726 through 55,740 (of 59,098 total)
Susan,
Please post what you figured out... thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2007 at 5:11 pm
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2007 at 8:13 am
Yep, kinda figured that... was hoping you would post the actual record layouts...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2007 at 8:07 am
Heh... kinda what I thought... some things just don't change. Thanks Michael.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2007 at 8:05 am
You still haven't said what the cursor is for, though ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2007 at 7:56 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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 10:51 pm
Go to edit a post and then click on the delete button at the bottom...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 10:46 pm
Different slant on the month/year...
SELECT RIGHT(CONVERT(CHAR(10),GETDATE(),103),7)
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 9:13 pm
This is a "quadruple post", now, ALI... recommend you don't do this again...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 9:07 pm
Viewing 15 posts - 55,726 through 55,740 (of 59,098 total)