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
Docushare vs. Docushare Cpx ?
SharePoint Designer Workflows have stopped sending emails
SBS 2008 move data feature crashes
VPN traffic need (Policy) NAT to internal IP
Append extra data to the right of common data between files
Unable to receive email forwarded into Lotus Domino 8 from Exchange Server 2007
Roaming Profile
Outlook 2010 Calendar synchronisation problems
SSIS reuse the object variable
Microsoft Information Store stalling issues