|
|
|
|
俵ÀÌ / 2001-03-06 / ¿ÀÈÄ 2:38:04 / 203.255.3.190
Á¶È¸¼ö : 131
|
[Áú¹®] °°Àº ¿¡·¯ÀÓ´Ù.
|
> > > ¾È³çÇϽʴϱî?
> > > ¿À·§¸¸¿¡ ´Ô²² Áú¹®À» ¿Ã¸®´Â ±º¿ä.
> > > ´Ù¸§ÀÌ ¾Æ´Ï¶ó ´ÙÀ½°ú °°ÀÌ Å×ÀÌºí ¼Â¾÷ ÈÀÏÀ» ¸¸µé¾ú´Âµ¥,¿À·ù°¡ ¹ß»ýÇßÀ½´Ù.±×·±µ¥ ¹®Á¦´Â °°Àº ¹æ½ÄÀ¸·Î ´Ù¸¥ ¼Ò½º¸¦ Á¦ÀÛÇßÀ»´í ¿¡·¯°¡ ¾ø¾ú´Âµ¥,À̹ø°Å¿¡¼´Â ¿¡·¯°¡ ¹ß»ýµÇ°Åµç¿ä.¹°·Ð ¾à°£ÀÇ º¯µ¿ÀÌ ÀÖ¾ú±ä ÇÏÁö¸¸ ¸»ÀÓ´Ù.
> > > ÇØ´ç¼Ò½º´Â ´ÙÀ½°ú °°½À´Ï´Ù.
> > > <!--#include file="dbopen.asp" -->
> > > <%
> > > 'Å×ÀÌºí ¼Â¾÷
> > > 'Á¦ÀÛÀϽÃ:2001/03/06
> > > '»ç¿ë DataBase :MS - SQL7.0
> > > sqlman="Create table bulletboard ( "
> > > sqlman=sqlman&" board_no int identity(1,1) Primary Key, " 'ÀϷùøÈ£
> > > sqlman=sqlman&" board_num int(4), " '¹øÈ£
> > > sqlman=sqlman&" board_step int(4), " '´äº¯±ÛÀÏ °æ¿ì-·¹º§
> > > sqlman=sqlman&" board_id char(12), " '¾ÆÀ̵ð
> > > sqlman=sqlman&" board_writer char(20), " 'ÀÛ¼ºÀÚ
> > > sqlman=sqlman&" board_email varchar(40), " 'À̸ÞÀÏ
> > > sqlman=sqlman&" board_homepage varchar(40), " 'homepage
> > > sqlman=sqlman&" board_title varchar(40), " 'Á¦¸ñ
> > > sqlman=sqlman&" board_memo text, " '³»¿ë
> > > sqlman=sqlman&" board_count int(4), " 'Á¶È½¼ö
> > > sqlman=sqlman&" board_day char(8), " '³¯Â¥
> > > sqlman=sqlman&" board_time char(6), " '½Ã°£
> > > sqlman=sqlman&" board_pass char(4), " 'ºñ¹Ð ¹øÈ£==> À̺κÐÀÌ ¿¡·¯ °°³×¿ä..
> > >
> > >
> > > sqlman=sqlman&" )"
> > > DbCon.Execute(sqlman)===>¿¡·¯¶óÀÎ
> > > DbCon.Close
> > > Set DbCon=Nothing
> > >
> > >
> > > %>
> > > <script language="Javascript">
> > > alert("Å×À̺íÀ» ¼º°øÀûÀ¸·Î ¸¸µé¾ú½À´Ï´Ù.\n\n - noticeÀ¸·Î À̵¿ÇϽðڽÀ´Ï±î?.");
> > > location.href="notice.asp";
> > >
> > > </script>
> > > *****************************************
> > > À§¿Í °°ÀÌ Á¦ÀÛÇÏ¿´±¸¿ä.¿¡·¯¶óÀο¡ ¹ß»ýµÈ ¼Ò½º´Â ´ÙÀ½°ú °°½À´Ï´Ù.
> > > ¿À·ù Çü½Ä:
> > > ¿À·ù Çü½Ä:
> > > Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
> > > [Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #2: Cannot specify a column width on data type int.
> > > /Web/notice/notice_table_setup.asp, line 24
> > >
> > > ´ëºÎºÐ ÀÌ·± ¿¡·¯´Â Query¹®ÀÌ À߸øµÈ°Í À¸·Î ¾Ë°í ÀÖ¾î¼, ºÎºÐÀ» ¾Æ¹«¸® ã¾Æµµ ÇØ°á ±â¹Ì°¡ º¸ÀÌÁö ¾Ê¾î¼ ±ÛÀ» ³²±é´Ï´Ù.ÇØ°á ¹æ¹ýÁ» ¾ËÄÑÁÖ¼¼¿ä...
> > >
> > >
> > >
> > -----------------------------------------------------------
> >
> > sqlman=sqlman&" board_pass char(4), " ºÎºÐ¿¡¼ ,¸¦ »©º¸½ÃÁÒ....
> >
> -----------------------------------------------------------
> ¿À·ù Çü½Ä:
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
> [Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #2: Cannot specify a column width on data type int.
> /Web/notice/notice_table_setup.asp, line 24
>
>
-----------------------------------------------------------
int(4)ÇÏÁö ¸¶½Ã°í ±×³É int Çϼ¼¿ä~~
|
|
|
|