|
|
|
|
俵ÀÌ / 2001-02-02 / ¿ÀÈÄ 9:26:35 / 203.255.3.190
Á¶È¸¼ö : 135
|
[Áú¹®] ¿¡·¯¸Þ¼¼Áö |
> table¸í jo_bbs_1
> °Ô½ÃÆDZ۾²±â¿¡¼...
> write.asp ¿¡¼ ÀԷ½à ¿¡·¯¸ä¼¼ÁöÀÔ´Ï´Ù.
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
> [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert
> explicit value for identity column in table "jo_bbs_1" when
> IDENTITY_INSERT is set to OFF.
> /fz_project/fz_bbs/write_ok.asp, line 88
>
> ¹Ø¿¡´Â tableÀÔ´Ï´Ù.
>
> [db_no] [int] IDENTITY (1, 1) NOT NULL ,
> [db_name] [varchar] (20) NOT NULL ,
> [db_email] [varchar] (50) NOT NULL ,
> [db_homepage] [varchar] (50) NULL ,
> [db_title] [varchar] (50) NOT NULL ,
> [db_content] [text] NOT NULL ,
> [db_pwd] [varchar] (6) NOT NULL ,
> [db_ip] [varchar] (15) NOT NULL ,
> [db_browser] [varchar] (100) NOT NULL ,
> [db_writeday] [datetime] NOT NULL ,
> [db_ref] [int] NOT NULL ,
> [db_re_level] [int] NOT NULL ,
> [db_re_step] [int] NOT NULL ,
> [db_readnum] [int] NOT NULL
>
> Àǹ̰¡ ¹«¾ùÀÎÁö ÁÁÀº ´äº¯ºÎŹÇÕ´Ï´Ù.
>
-----------------------------------------------------------
Ȥ½Ã Insert¹®¿¡¼ db_no Ä®·³¿¡ °ªÀ» ÀԷ°í ÇÏÁö´Â ¾ÊÀ¸¼Ì³ª¿ä?
db_no Ä®·³Àº IDENTITY·Î Á¤ÀÇ µÇ¾î Àֱ⠶§¹®¿¡
°ªÀ» ÀÔ·ÂÇÏ·Á°í ÇÏ¸é ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.
ÀÚµ¿À¸·Î Áõ°¡Çϴѱî¿ä...
±×·³...
|
|
|
|