VS 2008 Web Developer

Posted on 2009-05-04
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.
Question by:rbrindisi
  • 2

Expert Comment

ID: 24298052
you need to put the values in quotes:
Insert into table (field) values ("value")

Accepted Solution

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

Open in new window


Author Closing Comment

ID: 31577698
That worked, thank you.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TSQL - IF ELSE? 3 29
Query / Window function ? 3 18
SQL - insert empty rows into output results 11 27
SQL won't work after disabling SSL3 / TLS1 3 18
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

863 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

24 Experts available now in Live!

Get 1:1 Help Now