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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -