Home > Archive > MS SQL Server > January 2006 > Create table









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Create table
Roy Gourgi

2006-01-03, 8:23 pm

Hi,

How would I create a table programmatically in a database. I am using C#
2005 Express edition.

For example I want to create a table named tblHours in a database
dbEmployees with the columns hours worked (integer), hourly pay (currency),
etc....


TIA
Roy



Michael Hotek

2006-01-03, 8:23 pm

How about looking up "create table" in BOL?

ms-help://MS.SQLCC.v9/MS.SQLMobile.v3.en/SSMProg3/html/143cad25-5c1d-4c96-bd8b-6a95dbfb1b00.htm

--
Mike
Mentor
Solid Quality Learning
http://www. solidqualitylearning
.com



"Roy Gourgi" <royng@videotron.ca> wrote in message
news:5rEuf.56416$DQ4.1492398@weber.videotron.net...
> Hi,
>
> How would I create a table programmatically in a database. I am using C#
> 2005 Express edition.
>
> For example I want to create a table named tblHours in a database
> dbEmployees with the columns hours worked (integer), hourly pay
> (currency),
> etc....
>
>
> TIA
> Roy
>
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com