Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error

Status
Not open for further replies.

renee35

MIS
Jan 30, 2007
199
0
0
Could someone please tell me what I am doing wrong in the below create table statment:

create table #commissions (employeeid int, woid int,
worid int, custid int, custcode char(20), custname varchar (255), Effdate(datetime), WeekEnd(datetime))

To generate this error:

The definition for column 'Effdate' must include a data type.

Thanks a million

Thanks a bunch!!

-T
 
No need for parens around the datetime datatype.
Code:
create table #commissions (
   employeeid int, woid int, worid int, custid int,
   custcode char(20), custname varchar (255),
   Effdate datetime , WeekEnd datetime )

--John [rainbow]
-----------------------------------
Behold! As a wild ass in the desert
go forth I to do my work.
--Gurnie Hallock (Dune)
 
Thank you soo much RiverGuy!! You have no idea how much your responses and answers have said me soo much time. It's always the small things that we tend to overlook after working on something.

Have a wonderful day!!

Thanks a bunch!!

-T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top