Click here to Skip to main content
13,089,207 members (98,239 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted 13 Nov 2012

error in insert coding

, 13 Nov 2012
Your commandText is incorrect. The proper syntax for an insert statement would be:INSERT INTO Table2 (username) VALUES (@username)Here is a resource on the INSERT statement: TSQL INSERT[^]

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 13-Nov-12 3:54 Available fjdiewornncalwe
Updates in content.
2 No 13-Nov-12 3:54 Available fjdiewornncalwe
Updates in content. 64 changes had been made.
1 No 13-Nov-12 3:53 Available fjdiewornncalwe

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

fjdiewornncalwe
Software Developer (Senior)
Canada Canada
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170813.1 | Last Updated 13 Nov 2012
Article Copyright 2012 by fjdiewornncalwe
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid