With ExecuteNonQuery, you can run DDL as well as DML, so you are open to
running code that adds constraints, if you so desire. This is not wise,
however, unless you are making an application that makes databases, which
may be your goal.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.