Basically I am in this SQL class we were given an assignment to create a database and two tables. Below is a simple created database and table asking simply the first and last name, I have errors evening coming up on this one as well as my assignmenrt but to keep ir simple I used the small database/table. Seems to all happen when I use the INSERT statement as you can see below. Any helpful tips would be appreciated. I am using SQL Server Management Studio. If interested I have the attachment of the assignment but please send me email to info@global-network.ws in the SUBJECT put CAN HELP WITH ASSIGNMENT
INSERT INTO [Contacts].[dbo].[contents]
([LastName]
,[FirstName])
VALUES
(<LastName, nchar(10),>
,<FirstName, nchar(10),>)
GO
insert into contents (LastName, FirstName)
values ('Hayward', 'Ken')
ERROR msg is below
102, Level 15, State 1, Line 5
Incorrect syntax near '<'.
(1 row(s) affected)

New Topic/Question
Reply




MultiQuote



|