Viewing 15 posts - 4,441 through 4,455 (of 5,590 total)
I sure wish that forums could be put into one's briefcase. This one would definitely qualify.
April 13, 2010 at 9:02 pm
Bill,
Thanks for the table DDL/DML; however you still haven't specified what the desired output should look like, so I'm making a WAG here. Let us know if this works for...
April 13, 2010 at 8:45 pm
CirquedeSQLeil (4/13/2010)
Oddity in the forums. I just noticed that I lost 27 points today. Am curious where they could have gone.
The entity known as "The Thread" randomly deducts...
April 13, 2010 at 8:16 pm
Roy - what did you think of all the April 1st jokes on this site? Steve pulled off some pretty awesome ones
April 13, 2010 at 9:51 am
Barkingdog (4/12/2010)
April 13, 2010 at 9:34 am
steve-lauzon (4/13/2010)
Holy smokes !Thanks a lot guys... you've just saved me a bunch of time - just the solution I was searching for
The "Holy smokes" is adequate... this routine that...
April 13, 2010 at 9:17 am
abemby (4/13/2010)
I did mention that this is done after database is backedup... i completely agree with you... may be i should have highlighted it in bold.
... >> A...
April 13, 2010 at 9:00 am
April 13, 2010 at 8:58 am
There are a few methods, but none of them are pretty. Note that in SQL 2008, you can pass a table variable to a procedure, but since this is a...
April 13, 2010 at 8:31 am
You cannot add a column to a table at a specified column position; adding a column adds it to the end of the table.
If you really need this column in...
April 13, 2010 at 7:34 am
You will have to:
1. drop any foreign keys in other tables referencing this index if applicable.
2. drop the index
3. change the column
4. rebuild the index
5. reinstate any foreign keys that...
April 13, 2010 at 7:29 am
Matt Miller (#4) (4/12/2010)
April 12, 2010 at 10:09 pm
Jeff Moden (4/12/2010)
April 12, 2010 at 10:06 pm
steve-lauzon (4/12/2010)
Thanks... here are the clarifications ... Does this help
Absolutely. Based on these clarifications, this will work for you.
SET NOCOUNT ON
if object_id('tempdb..#tDivision') IS NOT NULL DROP TABLE #tDivision
if object_id('tempdb..#tDivisionBloc') IS...
April 12, 2010 at 9:45 pm
You didn't give us all the information we're going to need in order to help you.
For instance, does "highest weight" = #tDivisionBloc.BlocWeight?
Does "Qty" = #tDivision.DivisionQty, or #tDivisionQty * #tDivisionBloc.BlocWeight?
Based upon...
April 12, 2010 at 5:12 pm
Viewing 15 posts - 4,441 through 4,455 (of 5,590 total)