M
mikeb
Suppose I have the table below - I'm new to sqlce and am wondering what I
need to do to add an index to the table on trackno+factory. ??
sqlCreateTable.CommandText = _
"CREATE TABLE TestTable " & _
"(" & _
"trackno nchar (20), " & _
"factory nchar (10), " & _
"sealno nchar (40), " & _
"length nchar (04), " & _
"add_date datetime " & _
")"
sqlCreateTable.ExecuteNonQuery()
need to do to add an index to the table on trackno+factory. ??
sqlCreateTable.CommandText = _
"CREATE TABLE TestTable " & _
"(" & _
"trackno nchar (20), " & _
"factory nchar (10), " & _
"sealno nchar (40), " & _
"length nchar (04), " & _
"add_date datetime " & _
")"
sqlCreateTable.ExecuteNonQuery()