Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
taylo
Yak Posting Veteran
82 Posts |
Posted - 2001-06-18 : 16:43:56
|
| Can anyone tell me why @@identity is not working in this scriptSQLMakeGroopeChat = "INSERT INTO Rooms(RoomName,RoomType,GroopeRoom) VALUES('"&Session("GroopeName")&"',1,"&Session("groope")&")" ChatDB.execute(SQLMakeGroopeChat) set rsID = chatDB.execute("Select @@identity as MaxID from Rooms") curRoomThread = rsID("MaxID")I have an numeric identity field in this table.Rob |
|
|
|
|
|