Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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
publicly available No 13-Nov-12 9:54 Available fjdiewornncalwe
Updates in content.
2 No 13-Nov-12 9:54 Available fjdiewornncalwe
Updates in content. 64 changes had been made.
1 No 13-Nov-12 9:53 Available fjdiewornncalwe

License

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

About the Author

fjdiewornncalwe
Software Developer (Senior)
Canada Canada
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 13 Nov 2012
Article Copyright 2012 by fjdiewornncalwe
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid