Viewing 15 posts - 24,586 through 24,600 (of 26,486 total)
Your solution works, based on what we have from the OP, but why all the extra work setting up and using temporary tables?
😎
June 18, 2008 at 2:11 am
bhovious (6/17/2008)
June 17, 2008 at 2:10 pm
David Webb (6/17/2008)
June 17, 2008 at 1:56 pm
Just a thought. When I was working with SQL Server 2000 at my last emploer, I had SQL Server 2000 Personal Edition loaded on my desktop system. It...
June 17, 2008 at 1:35 pm
It could also be parameter sniffing. One thing I have done that seemed to help some of my stored procedures is to declare local variables inside the stored procedure...
June 17, 2008 at 1:23 pm
Just to expand on Jeff's post a little. Buying the Developers Edition of SQL Server not only gives you access to all the features of the Enterprise Edition, you...
June 17, 2008 at 11:53 am
Jeff,
You should not get upset anyway. Just do what you have done, mentor those who come ask for help. You have helped me learn better ways to do...
June 16, 2008 at 11:46 pm
Jeff Moden (6/16/2008)
June 16, 2008 at 10:51 pm
Here is another solution:
/*objects and test data*/
create table dbo.table1(name varchar(10), code int, last_code int);
insert into dbo.table1 values ('MC1',100,NULL);
insert into dbo.table1 values ('MC2',200,NULL);
insert into dbo.table1 values ('MC3',250,NULL);
insert into dbo.table1 values ('MC4',300,NULL);
insert...
June 16, 2008 at 9:35 am
put more good people on the project. If you don't have those people, then you've overstated your abilities in the bidding process and need to be punished.
I am a...
June 16, 2008 at 9:19 am
Here's part of the problem with "right". What to me was well written performant code, still could have been written better today because of the things I have learned...
June 14, 2008 at 10:11 pm
Still not giving enough info. Perhaps reading this will help:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
😎
June 14, 2008 at 9:50 pm
You really have missed part of what I asked for earlier. The definition for your tables, some sample data for the tables, the expected output based on the sample...
June 14, 2008 at 9:35 pm
And this helps us know what you've done so far how? Please reread my post and Jeff's post. Based on the information you have provided us so far,...
June 14, 2008 at 8:31 pm
We'd love to help you with your school project, but it would be better if you showed us what you have already done to try and solve the problem and...
June 14, 2008 at 7:59 pm
Viewing 15 posts - 24,586 through 24,600 (of 26,486 total)