The best way to solve this problem is to move your sql insert into a stored procedure. After the insert runs have the stored procedure return the @@Identidy value.
Ex
INSERT INTO jobs (job_desc,min_lvl,max_lvl)
VALUES ('Accountant',12,125)
SELECT @@IDENTITY AS 'Identity'
Is it possible to disable IE from recording the
URL containing the DB connection info in the Temp. Internet files directory? I used frames to hide the url, but this info can still be seen by looking at the Temp. Internet files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.