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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

asp.net - Configuring WCF Services in Code WCF 4.5 -