Hi Guys,
Im still new to this SQL stuff and have a question about creating a counter that does not reset if I drop the temp table. Is this possible? I need to add new work order number (counter) to a daily orders table/view/procedure and I can make it work for one day but then when I drop the temp table, it resets the counter back. How can I keep the Max(orderno) going forward to the next day?
I am a little versed in stored procedures too. We are using SQL 2000 at the moment in the office.
Any ideas for this simple minded gal?
Thanks!
Jo
Im still new to this SQL stuff and have a question about creating a counter that does not reset if I drop the temp table. Is this possible? I need to add new work order number (counter) to a daily orders table/view/procedure and I can make it work for one day but then when I drop the temp table, it resets the counter back. How can I keep the Max(orderno) going forward to the next day?
I am a little versed in stored procedures too. We are using SQL 2000 at the moment in the office.
Any ideas for this simple minded gal?
Thanks!
Jo
Comment