1
USE Kudler_FF
INSERT INTO Job_Tbl
    (JobTitle, JobDescription, ExemptionStatus)
VALUES
   ('Accounting clerk’, ‘Computes, classifies, records, and verifies numerical
   data for use in maintaining accounting records’, ‘N);

Msg 105, Level 15, State 1, Line 5 Unclosed quotation mark after the character string 'Accounting clerk’, ‘Computes, classifies, records, and verifies numerical data for use in maintaining accounting records’, ‘N); '. Msg 102, Level 15, State 1, Line 5 Incorrect syntax near 'Accounting clerk’, ‘Computes, classifies, records, and verifies numerical data for use in maintaining accounting records’, ‘N'.

WHAT AM I DOING WRONG?

2 Answers 2

2

You have left and right ticks here:

clerk’, ‘Computes,

And in a bunch of other spots in your code.

SQL no likey. Try replacing with a regular apostrophe (' not or )

This will sometimes happen if you copy and past from Word or something like that that tries to do fancy formatting.

Sign up to request clarification or add additional context in comments.

1 Comment

No problem! If you feel like my answer solved your problem feel free to accept it by clicking on the check mark image in the top left corner of my answer.
1

You're just missing the closing quote (') after the 'N in your last value... It should read:

USE Kudler_FF INSERT INTO Job_Tbl (JobTitle, JobDescription, ExemptionStatus) VALUES ('Accounting clerk', 'Computes, classifies, records, and verifies numerical data for use in maintaining accounting records', 'N');

Also as noted above, make sure you're using a forward apostrophe only (', under the " key) and not the open and closing quotes. The error message you pasted though is about the missing quote after the N, so I think StackOverflow might have put those in via its editor.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.