Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Table in a JET DatabaseContent of Create a Table in a JET Database.vbsMD5 Hash: AE0EE4CD1EE765A4A06AC9357EF862DD |
||
' Description: Demonstration script that creates a new table in a database named New_db.mdb.
Set objConnection = CreateObject("ADODB.Connection") objConnection.Open _ "Provider= Microsoft.Jet.OLEDB.4.0; " & _ "Data Source=new_db.mdb" objConnection.Execute "CREATE TABLE EventTable(" & _ "EventKey COUNTER ," & _ "Category TEXT(50) ," & _ "ComputerName TEXT(50) ," & _ "EventCode INTEGER ," & _ "RecordNumber INTEGER ," & _ "SourceName TEXT(50) ," & _ "TimeWritten DATETIME ," & _ "UserName TEXT(50) ," & _ "EventType TEXT(50) ," & _ "Logfile TEXT(50) ," & _ "Message MEMO)" objConnection.Close | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |