Solved

VS 2008 Web Developer

Posted on 2009-05-04
3
192 Views
Last Modified: 2013-11-27
I am new to Visual Studio Web Developer 2008. Can any one tell me why the very simple insert query gives me an error, please see attached file.
VSerr.jpg
0
Comment
Question by:rbrindisi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:ezraa
ID: 24298052
you need to put the values in quotes:
Insert into table (field) values ("value")
0
 
LVL 9

Accepted Solution

by:
ezraa earned 500 total points
ID: 24298065
corrected code:
insert into Table1 (city, state, country) values ('lodi','nj','usa')

Open in new window

0
 

Author Closing Comment

by:rbrindisi
ID: 31577698
That worked, thank you.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question