Microsoft
Software
Hardware
Network
Question : Adding a new field - with index - through VBA
I have a small query that allows me to add new fields to my tables:
ALTER TABLE [tblTableName] ADD COLUMN [Index Test 2] Text(50)
But I also need to set an index on this field - can anyone let me know the correct syntax addition. It's not for Primary key or anything such as that.
Thanks as always.
Answer : Adding a new field - with index - through VBA
CREATE INDEX tblTableName_IDX1 ON [tblTableName] ([Index Test 2]);
Random Solutions
VB.Net 2010: ResourceManager.GetObject fails with silent exception on x64
Sort Records in Descending Order on Pivot Chart
Strip off double quotes from string and replace with single quote
chess game without a database
Exchange 2007 OWA causes 2 audit failures on failed login attempt
Looking for software to mirror two external hard drives.
need help with configuration for Nexus 5020 + 2148 FEX
Filemaker Scheduled Import of Tab Delimited File Not Working
Windows SBS 2003
Exit Ctrl+Alt+F2