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
 SQL Server Administration (2000)
 table with data monthly

Author  Topic 

djokerss
Starting Member

28 Posts

Posted - 2004-12-28 : 21:34:11

i want to make a table that stored data monthly,
wich the best structur of :

create table tb_monthly (inventory_code char(30),n1 int,n2 int ... n12 int)

or this one

create table tb_monthly(inventory_code char(30),cmonth int,cyear int,qty int )

the field inventory_code is related with table master inventory

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-28 : 22:12:32
The second. You could combine month and year if you wish.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

djokerss
Starting Member

28 Posts

Posted - 2004-12-28 : 22:38:05
oke ... thans..
Go to Top of Page
   

- Advertisement -