sql server - Can I send array of parameter to store procedure? -


i have user table, has userid uniqueidentifier, name varchar , isactive bit.

i want create store procedure set isactive false many user, example, if want deactive 2 users, want send guid of users store procedure (prefer array). want know how can it?

p.s. i'm working on microsoft sql azure

along same lines elian, take @ xml parameters. speaking should have cleaner/safer implementation using xml parsing list of strings. click here code example


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -