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
wordpress causing infinite tabs opening?
I can send e-mail ok but cannot get to Internet via browser
Excel Date Time format conversion yyyy-mmm-dd hh:mm:ss to mm/dd/yyyy hh:mm:ss
SBS 2003 / Error: too many hops (delivery attempts: 0)
How can I convert a custom control that calls User32 and Shell32 to work on Mono?
GridView control scroll bars are not visible on page reload
Crystal cross-tab page numbering
HELP! Windows SBS 2008 server keeps hanging URGENT!
AJAX Refresh on Submit of Pop Up Window
Sharepoint Webpart page load event issue