Viewing 15 posts - 57,676 through 57,690 (of 59,048 total)
Shoot... I was getting ready to post the answer and saw that Ramesh had answered with code nearly identical to what I had made. Nice job, Ramesh
September 7, 2006 at 9:13 pm
{EDIT} Never mind... I'm stupid
I don't need to do the calc...
CS,
This is important... please post the code for the GetRatio function ASAP......
September 7, 2006 at 7:35 pm
I'll say... we need beer for these types of meetings. Good to "see" you again ...
September 7, 2006 at 6:22 pm
Our pleasure... thanks for the feedback...
Sreejith... nice job... you hit the nail on the head... I just played "cleaning lady" on this one.
September 7, 2006 at 6:18 pm
Great.. thanks for the info. Glad it helped on performance, too. I'll give it a whirl tonight...
Result set from another store proc? I must have missed that one in...
September 7, 2006 at 7:20 am
Ramesh,
Can do... but what are the other 4 parameters. If I add table name to the list of parameters, that will bring the current count of parameters up to 3......
September 7, 2006 at 6:29 am
I've made it work a couple of ways but I haven't been able to make it faster than the dynamic SQL solution. I'm going to leave this one be and...
September 6, 2006 at 7:49 pm
Yep... I believe you are correctm Gopi... didn't realize the Stor_ID in the Stores table of PUBS was actually a CHAR(4).
Soooooo..... the correct code should look something more like this...
September 6, 2006 at 7:46 pm
Funny, I don't see a post here by Ramesh...
So, what did you guys come up with?
September 6, 2006 at 7:41 pm
Leifa and David hit the nail on the head... well done.
September 6, 2006 at 7:31 pm
Unless you want the log to remember that you deleted 200 million rows, DELETE is NOT the way to go...
TRUNCATE is absolutely the fastest way to empty a table, without...
September 6, 2006 at 7:28 pm
Sounds a little whacked but with 250 columns, might not be as whacked as you think...
copy the columns in the SELECT list...
September 6, 2006 at 7:18 pm
Just a reminder to everyone that may try... ISQL is deprecated when compared to OSQL. OSQL gives you the full functionality of SQL Server... ISQL does not. Recommend that you...
September 6, 2006 at 7:14 pm
CS,
Post the table schema and some example data (hopefully in the form of INSERTs) and I'll give you a dog'n'pony...
September 6, 2006 at 7:07 pm
The problem is that carriage returns mean nothing in HTML... your app has to capture user induced line breaks as <br> in order for them to mean anything in HTML.
September 6, 2006 at 6:56 pm
Viewing 15 posts - 57,676 through 57,690 (of 59,048 total)