|
|
|
|
¹®Èñö / 2001-11-24 / ¿ÀÀü 9:47:32 / 210.183.218.144
Á¶È¸¼ö : 128
|
[Áú¹®] Äõ¸®¹®ÀÌ ¸Â´ÂÁö È®ÀÎÁ» ºÎŹµå¸³´Ï´Ù. |
Äõ¸®¹®ÀÌ ¸Â´ÂÁö È®ÀÎ ºÎŹ µå¸³´Ï´Ù.´ÙÀ½°ú °°Àº ¹æ¹ýÀ» Çߴµ¥,¿øº»±Û »èÁ¦½Ã ¿¡·¯°¡ ¹ß»ýµÇ´õ¶ó±¸¿ä.
ÀÌ ¹æ¹ýÀº ±âÁ¸ ¸®½ºÆ®¿¡ ¸àÆ® ºÎºÐÀ» Ãß°¡ÇÑ°ÍÀε¥,¾îÂîµÈ ÀÏÀÎÁö ÀԷ¿¡´Â ¹®Á¦°¡ ¾ø´Âµ¥ ¿øº»±ÛÀÌ »èÁ¦µÉ¶§ commentºÎºÐÀ¸·Î ÀÎÇØ ¿¡·¯°¡ ¹ß»ýµÇ´õ±º¿ä.¾Æ¸¶µµ ¿¬°á ¼³Á¤ÀÌ À߸øµÈ°ÍÀ¸·Î º¸À̴µ¥....
CREATE TABLE [dbo].[Comment] (
[Co_seq] [int] IDENTITY (1, 1) NOT NULL ,
[board_idx] [int] NOT NULL ,
[Co_name] [varchar] (20) NOT NULL ,
[Co_date] [smalldatetime] NOT NULL ,
[Co_pass] [char] (10) NOT NULL,
[Co_Content] [varchar] (500) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Comment] WITH NOCHECK ADD
CONSTRAINT [DF_Comment_Co_date] DEFAULT (getdate()) FOR [Co_date],
CONSTRAINT [PK_Comment] PRIMARY KEY CLUSTERED
(
[Co_seq]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Comment] ADD
CONSTRAINT [FK_Comment_nayaBoard_comment] FOREIGN KEY
(
[board_idx]
) REFERENCES [dbo].[nayaBoard_comment] (
[board_idx]
)
GO
|
|
|
|