Viewing 15 posts - 76 through 90 (of 181 total)
AVB,
You have many options as to how to construct this. I can't go into too much detail because I don't know your DDL, etc., but I'll give a...
March 26, 2008 at 6:37 am
Like Matt said, more details will help to provide an accurate solution.
Basically though, you can get the data in sets rather than row by row as Matt outlined in his...
March 25, 2008 at 12:23 pm
Ahhh...the key to your solution, Matt, is to build the row string on the INSERT into the temp table, rather than building it when SELECTING from the temp tables. ...
March 25, 2008 at 11:25 am
I have done this in the past using temp tables, but I cheated and used while loops, but only to build the final output string. It was the most obvious...
March 25, 2008 at 9:10 am
I would model it like this because once you have built the table structure, you have the flexibility to add people and towns as your needs change without have to...
March 25, 2008 at 8:49 am
Because you are building a output string for EDI, it doesn't appear that you will be able to totally get away from some kind of row by row processing, but...
March 25, 2008 at 8:24 am
I'm with Gail...not sure a cursor (or nested cursor...yuk) is necessary, but seeing what you are doing would help us determine that.
Have you investigated using 'UPDATE...FROM'...this allows you to select...
March 25, 2008 at 6:31 am
Just curious as to what your data is modeling...perhaps a different table design would make life easier.
Rather than have these multiple columns (up to 96 as you say),...
March 25, 2008 at 6:23 am
'sys.master_files' does not exist in SQL Server 2000.
March 25, 2008 at 6:03 am
I agree with all of the above. I have used both XML and delimited strings to pass in variable-length lists. If you are not using XML anywhere else,...
March 25, 2008 at 5:56 am
Funny how some of the easiest things can trip you up, sometimes for days. :hehe:
March 25, 2008 at 5:32 am
I've seen the term 'database pooling' used in ColdFusion, but that is just database connection pooling, which is what Steve said.
You should have asked the interviewer what it was. ...
March 24, 2008 at 11:42 am
The path in the 'FROM' must be the path from the server where SQL Server is running. Is your 'E:' directory mapped on your SQL Server, or your local...
March 24, 2008 at 5:53 am
Viewing 15 posts - 76 through 90 (of 181 total)