Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
fakeValue = 5
set conn = CreateObject("ADODB.Connection")
conn.open "<conn string>"
sql = "INSERT someTable(IntColumn) values(" & fakeValue & ")" & _
VBCrLf & " SELECT @@IDENTITY"
set rs = conn.execute(sql)
response.write "New ID was " & rs(0)
rs.close
set rs = nothing
conn.close
set conn = nothing
%>
<%
fakeValue = 5
set conn = CreateObject("ADODB.Connection")
conn.open "<conn string>"
conn.execute "INSERT someTable(IntColumn) values(" & fakeValue & ")"
set rs = conn.execute("select MAX(ID) from someTable")
response.write "New ID was " & rs(0)
rs.close
set rs = nothing
conn.close
set conn = nothing
%>
<%
fakeValue = 5
set conn = CreateObject("ADODB.Connection")
conn.open "<conn string>"
set rs = CreateObject("ADODB.Recordset")
rs.open "SELECT [intColumn] from someTable where 1=0", conn, 1, 3
rs.AddNew
rs("intColumn") = fakeValue
rs.update
response.write "New ID was " & rs("id")
rs.close
set rs = nothing
conn.close
set conn = nothing
%>