Viewing 13 posts - 1 through 13 (of 13 total)
In all the work I've done attempting to "rank" data, I've found MAX not to be useful. I think its really only good for math, or single value...
May 22, 2006 at 8:01 am
Interesting. Can this work for actual data removal at the table level (instead of temp table)?
May 19, 2006 at 3:19 pm
No, the MAX condition always seems to get satisfied. (also their are many other columns in my project). I tried this first of course, but it never seems to work.
May 19, 2006 at 3:15 pm
Thks, I'll try fooling with spacing nested within IF statments, to determine which data rows need the padding.
April 3, 2006 at 2:49 pm
STUFF delete's data (if thats what you were advising). Thks for the craptastic response....
April 3, 2006 at 10:40 am
Interesting. It works perfectly when placing it into a pre-existing Excel document:
osql /Usa /P /dDATABASE /S /Q "Insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\test.xls;HDR=YES', 'SELECT * FROM [sheet1$]')Select * from SUPPLYLIST where...
December 27, 2005 at 8:24 am
Interesting, I never knew you could append a ranking next to the select command. Works very well. My header/footers are not column names or fields, but extraneous(dates, batch numbers etc..)....
July 13, 2005 at 1:09 pm
Parles-tu Francais?
I have a select statement, that generates a flat file, and sends it to a FTP site. These files need batch records appended to them (header/footer)...
July 13, 2005 at 10:38 am
Excellent. Thanks a bunch. I'm having to great a stored proc for a large VIEW, instead of having it inside the TSQL JOBs window which is foolishly truncated to only...
April 7, 2005 at 6:56 am
I'm running these reports on a timed basis, hence using T-SQL scripts in JOBS. DTS stinks, and is foolishly limited in what it can do. There are no format commands...
April 6, 2005 at 1:18 pm
I used INSERT INTO a new TABLE (instead of VIEW) using the original VIEWS data. I placed this above the Helen's brillant commands. Works like a charm. Thanks to all....
March 8, 2005 at 1:03 pm
Yes, Helen's query outputs all tables (even other VIEWS, not as complex) just not the VIEW I'm needing. It gives me COLLATION/SUBSTRING error. Very weird. I'm going to try...
March 8, 2005 at 11:58 am
This worked like a charm, thanks. The only other detail is that I'm using VIEWS for my output. It didn't seem to like it. It works for all the other...
March 8, 2005 at 7:34 am
Viewing 13 posts - 1 through 13 (of 13 total)