Hello!
I'm working in SQL Server 2000, and I've got a single column in my table which has an identity (An auto-incrementing primary key).
I want to use a SQL insert statement that just inserts a new record.
Something like:
The reason I want to do this is to get a guaranteed and recorded unique session ID that doesn't rely on ASP's session object, and can be permanent, or at least as long as the cookie lasts.
Any thoughts?
Cheers for your ideas in advance.
Karl.
I'm working in SQL Server 2000, and I've got a single column in my table which has an identity (An auto-incrementing primary key).
I want to use a SQL insert statement that just inserts a new record.
Something like:
Code:
Insert INTO Session () VALUES ()
The reason I want to do this is to get a guaranteed and recorded unique session ID that doesn't rely on ASP's session object, and can be permanent, or at least as long as the cookie lasts.
Any thoughts?
Cheers for your ideas in advance.
Karl.