Solved

VS 2008 Web Developer

Posted on 2009-05-04
3
186 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
  • 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
t-sql complement 8 31
Complex SQL 10 33
SQL JOIN 6 35
Change part of a string 2 21
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now