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
implementing aixpert on aix
Coookie not storing information
Can I copy a SQL agent job (2008) from one server to another?
get latest file in the directory in unix
Changing number of NSPI connections on Windows 2008 Global Catalogs
GridView update is not grabbing the new data when Updating
Microsoft Exchange Outlook Anywhere SSL Issue
Installing Exchange 2003 Enterprise, what switches do I need to use with dcdiag?
syslink Router
Registry, Winlogon, KEY_WOW64_64KEY errors