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
 General SQL Server Forums
 New to SQL Server Programming
 Insert

Author  Topic 

Msandlana
Starting Member

33 Posts

Posted - 2008-01-29 : 03:46:27
Hi evry1 I want to insert this:

insert into OperatingHours
(select branchid,weekdays, wednesdays, fridays,saturdays, [Sundays/Public Holidays] from tblstoreinfo)

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-01-29 : 03:59:44
insert into OperatingHours
select branchid,weekdays, wednesdays, fridays,saturdays, [Sundays/Public Holidays] from tblstoreinfo



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-01-29 : 05:50:38
or

insert into OperatingHours(required columns)
select branchid,weekdays, wednesdays, fridays,saturdays, [Sundays/Public Holidays] from tblstoreinfo

Madhivanan

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

- Advertisement -