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
Post a Comment