|
|
|
|
À̽ÂÀÍ / 2000-04-27 / ¿ÀÈÄ 5:47:24 / 164.124.1.43
Á¶È¸¼ö : 128
|
[Áú¹®] Å×À̺í Áߺ¹°Ë»ç..´Â..yl |
¾È³çÇϼ¼¿ä, À̽ÂÀÍÀÔ´Ï´Ù.
´ÙÀ½°ú °°ÀÌ ÇÏ¸é µË´Ï´Ù.
¹°·Ð Á¤»óÀûÀÎ ¹æ¹ýÀÌ ¾Æ´Ï±â¿¡ 俵´Ô²²¼ ¾ð±ÞÀ» ÇÏÁö ¾ÊÀ¸½Å °Í °°Àºµ¥¿ä. ¿ö³« ²Ç¼ö¸¦ ÁÁ¾ÆÇÏ´Â ÀúÀ̱⿡... -,.-
<%
Set DBConn = Server.CreateObject("ADODB.Connection")
DBConn.Open(Application("CONNECTION_STRING"))
'Áߺ¹µÈ Å×À̺íÀ϶§´Â ¿¡·¯ ¸Þ¼¼Áö¸¦ »Ñ·ÁÁØ´Ù.
On Error Resume Next
DBConn.Execute "CREATE TABLE DuplicatedTables (Num Counter)"
If Err.Number <> 0 Then
If InStr(Err.Description, "Å×À̺íÀÌ ÀÌ¹Ì ÀÖ½À´Ï´Ù") > 0 Then
Response.Write "ÁöÁ¤ÇϽŠÅ×À̺íÀÌ ÀÌ¹Ì Á¸ÀçÇÕ´Ï´Ù."
Err.Clear
On Error Goto 0
Else
number = Err.Number
description = Err.Description
source = Err.Source
helpfile = Err.HelpFile
helpcontext = Err.HelpContext
Err.Clear
On Error Goto 0
Err.Description = description
Err.Source = source
Err.HelpFile = helpfile
Err.HelpContext = helpcontext
Err.Raise number
End If
End If
'syntax °¡ Ʋ¸®´Â ¿¡·¯, Áï ÀϹÝÀûÀÎ ¿¡·¯ÀÌ¸é ±×´ë·Î ¿¡·¯¸¦ ¹ß»ýÇÑ´Ù.
On Error Resume Next
DBConn.Execute "CREATE TABLE NotDuplicatedTables IncorrectSyntax (Num Counter)"
If Err.Number <> 0 Then
If InStr(Err.Description, "Å×À̺íÀÌ ÀÌ¹Ì ÀÖ½À´Ï´Ù") > 0 Then
Response.Write "ÁöÁ¤ÇϽŠÅ×À̺íÀÌ ÀÌ¹Ì Á¸ÀçÇÕ´Ï´Ù."
Err.Clear
On Error Goto 0
Else
number = Err.Number
description = Err.Description
source = Err.Source
helpfile = Err.HelpFile
helpcontext = Err.HelpContext
Err.Clear
On Error Goto 0
Err.Description = description
Err.Source = source
Err.HelpFile = helpfile
Err.HelpContext = helpcontext
Err.Raise number
End If
End If
%>
Çѹø Çغ¸¼¼¿ä.
°¨»çÇÕ´Ï´Ù.
> 俵´Ô Å×À̺í Áߺ¹°Ë»çÇÏ´Â ¹æ¹ýÀº ¾ø³ª¿ä?
> Á¦°¡ »ý°¢ÇÑ ¹Ù·Î´Â..
> Å×À̺í Áߺ¹°Ë»çÇÏ´Â ¹æ¹ýÀ» °ÅÃļ
> Å×À̺íÀÌ ÀÖÀ¸¸é...
> ÇØ´çÅ×À̺íÀÌ Á¸ÀçÇÑ´Ù´Â ¸Þ¼¼Áö¸¦ »Ñ·ÁÁÖ°í.
> ¾øÀ¸¸é Å×À̺íÀÌ ¸¸µé¾îÁö°Ô ÇØÁÖ°í ½ÍÀºµ¥...¿ä...
> ¸¸¾à ¸¸µé¾î Áö´Â Å×À̺íÀÇ À̸§À» ¶ÇÇϳªÀÇ Å×ÀÌºí¿¡...
> ÀúÀåÇØÁØ´Ù¸é ¹®Á¦´Â ±ú²ýÀÌ ÇØ°áµÇÁö¸¸..
> ±×·¯Áö ¸øÇÒ..ÇüÆíÀ̶ó¼¿ä..
> ¹æ¹ýÀÌ ¾øÀ»±î¿ä?
>
-----------------------------------------------------------
|
|
|
|