SQL Server : How to make a Insert Into with Condition -


how syntax make inserts conditions? example: verify if value want insert isn't in table? (considering column null)

your description brief sounds want merge statement.

http://technet.microsoft.com/en-us/library/bb510625.aspx

which can used insert/update/delete based on if data exists or not in 1 statement.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -