Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
tamancha.1
Starting Member
37 Posts |
Posted - 2010-04-19 : 14:55:05
|
| How to create index on particular variable in sql? |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2010-04-19 : 15:15:52
|
| Don't fully understand the question.If you mean a table variable, then you can't create indexes on it, other than via primary key or unique constraint defined within the initial definition of the table.--Gail ShawSQL Server MVP |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2010-04-20 : 01:06:46
|
| or do you mean creating index on table field? if yes, look for CREATE INDEX statement in books online------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|