Viewing 15 posts - 52,531 through 52,545 (of 59,091 total)
Hi Alicia...
Since you're trying to "export" the file from an .xls file to a table, you'll need to follow a couple of "rules" about the format of the .xls file....
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 6:26 pm
Christopher Ford (2/15/2008)
So I says to myself, bah, table variable...you can do it without a table variable!
... for an interesting exercise, please run this...or better yet, don't run this unless...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 6:09 pm
Thanks for joining the thread, Frank... just curious... you posted the following... and said it takes 2 seconds on your machine...
Out of curiousity, if we were to grab the current...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 5:38 pm
I get what you want to do... but, I'm with John... I need more info, please...
Also, what do you mean by "unitil No ID's are left"? Are you saying...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 12:29 pm
--===== Create a test table with data
-- THIS IS NOT PART OF THE SOLUTION
DECLARE @YourTable TABLE (DocNo VARCHAR(20),LiNum INT)
INSERT INTO @YourTable (DocNo,LiNum)
SELECT 'ZC12345',1...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 12:24 pm
So, maybe write some code that writes code for you?
Also, you can set the results in the text mode to use the TAB character to separate columns to make the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 12:01 pm
DOH! (making thumbsucking noises and triddling hair)... sometimes I just get balled up on things. Of course, Greg!... Nice simple solution like that is the way to go....
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 11:00 am
Matt S... yeaup... a bit "contrived" as you say... the example is meant to mimic the real world where people forget what datatype they're using to do calculations and the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 10:50 am
GSquared (2/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 8:41 am
Caught me? Heh... I jumped right out in front of ya 😀
What you say is similar to what I used to say and think.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 8:38 am
ALZDBA (2/15/2008)
And it resulted in a solution that worked a lightning speed and performed
the actual update in...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 7:45 am
Ross McMicken (2/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 7:24 am
matt stockham (2/14/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 15, 2008 at 7:15 am
A primary key of more than 16 columns... Lordy, I sure hope someone doesn't think of that as "core" functionality... :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2008 at 9:51 pm
So... what would you do with 99.99 shares and 4 people? Decimal isn't going to hack that, either.
Implementation of float in your 3 person case would be as follows...
DECLARE...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2008 at 9:42 pm
Viewing 15 posts - 52,531 through 52,545 (of 59,091 total)