Solved

SQL Insert Statement not working

Posted on 2012-03-25
2
244 Views
Last Modified: 2012-03-25
Hi

The image below shows an insert statement that I am trying to do in SQL Server 2008,
with the related table structure on the left. I thought that it would have worked but I am getting the error shown

1
0
Comment
Question by:murbro
2 Comments
 
LVL 14

Accepted Solution

by:
nishant joshi earned 500 total points
Comment Utility
Hi murbro,
SQL string starts and end with single code (') not like other languages like JAVA,C#.etc.

Correct it.it will work.

Regards,
nishant
0
 

Author Closing Comment

by:murbro
Comment Utility
Thanks very much
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

16 Experts available now in Live!

Get 1:1 Help Now