Viewing 15 posts - 55,726 through 55,740 (of 59,072 total)
Ok... I've got the simple fix... you have to change the way you are exporting the data. Because all of the data is in a single column and it contains...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 7:20 pm
Heh... I made a spreadsheet with all of the data in one column and exported it as a TEXT (OS/2 or MS-DOS) file, and lo-and-behold! Guess what I got? --Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
July 19, 2007 at 6:01 pm
Ah... now I understand... lemme see what I can do...
By the way... what is the "extension" used on the filenames you are receiving???
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:54 pm
Sure... I always start with Books Online and go from there... lookup "indexes, designing" in Books Online to start with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:50 pm
You're welcome, but we sure would like to know what you want done if the entry contains all zeros ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:42 pm
Just for giggles, I'd still like to know what the SN columns are for... what are they?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:39 pm
Crud, you're right, my bad...Thanks, Michaeal. Except should be this because, as you said, Peter's algo returns +/- 5...
UPDATE ValueDetails
SET AVM = AVMValue * (1+(ABS(CHECKSUM(NEWID()))%11-5)*.01)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:32 pm
I'm thinking that I'd follow Mark's suggestion about staying away from BCP and xp_CmdShell for a Web app... too many complications... too many security risks.
I'd be tempted to write something...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:23 pm
Thanks for the great feedback Georgio and Carlos.
Do look at Serqiy's post, again... as he says, these types of tables provide for some great flexibility, but at a potentially serious...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2007 at 5:03 pm
Of course, I may need to retrieve all customer records having FIELD_NUMBER = 2 AND FIELD_VALUE =... |
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2007 at 10:21 pm
If the names aren't supposed to mean anything to do with the database, I think you're on the right track... of course, you could also name them DB0001, DB0002,... etc. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2007 at 9:10 pm
Post the SQL that you would use to select the data to export, please... no conversions, no CSV attempts... just the query to select the data you want to export...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2007 at 9:03 pm
Ok... I made a spreadsheet that looked like this...
col1 |
col2
col3
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2007 at 8:56 pm
Ok... you've got a good example... just change it ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2007 at 8:12 pm
LOL... yeup... been in that same spot once or twice myself. Anyway, thanks for getting back to me.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2007 at 7:58 pm
Viewing 15 posts - 55,726 through 55,740 (of 59,072 total)