Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 records

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-04-26 : 09:23:19
mike writes "how do you insert records to the table employers One record for you, one for a employer named Jack mud(email is Jackmud@coolmail.ca), one for Jane fene, one for dany dumar, one for josh smith, one for captain majid Write the 6 insert statements i think u start like this
INSERT INTO Myemployer(lname,fname,email)
VALUES('jack','mud','jackmud@yahoo.com')
and then what"

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-04-26 : 09:30:48
[code]INSERT INTO Myemployer(lname,fname,email)
select 'jack','mud','jackmud@yahoo.com' union all
select 'Jane','fene', 'what@ever.com'[/code]



KH


Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-04-26 : 09:44:03
Learn SQL
http://www.sql-tutorial.net/
http://www.firstsql.com/tutor.htm
http://www.w3schools.com/sql/default.asp


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -