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.
CREATE TABLE table (field1 type [(size)] [NOT NULL] [index1]
[, field2 type [(size)] [NOT NULL] [index2] [, ...]]
[, CONSTRAINT multifieldindex [, ...]])
SQL = "CREATE TABLE TableName (" & request.form("Field1") & " TEXT (20)," & request.form("Field2") & " TEXT (20))"
<%
' Create a connection object
Set Conn = Server.CreateObject ("ADODB.Connection")
' Open the connection to the database. I use a system DSN here, but
' you can use whatever method you wish
Conn.Open "DSN=Library"
' Open the database schema to query the list of tables. Extract the
' list in a Recordset object
Set Rs = Conn.OpenSchema (adSchemaTables)
' Loop through the list and print the table names
Do While Not Rs.EOF
Response.Write "<BR>" & Rs ("TABLE_NAME")
Rs.MoveNext
Loop
' Close and destroy the recordset and connection objects
loRs.Close
Set loRs = Nothing
loConn.Close
Set loConn = Nothing
%>