sql server - How to create index in SQL from c# -
the scenario follows. need drop particular index @ beginning of c# application. after insert sql statements part of processing complete, need create index again.
the reason need index drop , creation part of application because giving application deployment team. deployment team running application in production.
is inline sql best way create index - clustered or non-clustered in sql server c#?
or there other way?
you can use executenonquery , send along create index
command.
Comments
Post a Comment