db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Bounds (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DDLUTILS-21) Sql Server drop statements fail without delimited identifiers
Date Fri, 30 Sep 2005 12:54:47 GMT
     [ http://issues.apache.org/jira/browse/DDLUTILS-21?page=all ]

Richard Bounds updated DDLUTILS-21:
-----------------------------------

    Attachment: patch.txt

my patch

> Sql Server drop statements fail without delimited identifiers
> -------------------------------------------------------------
>
>          Key: DDLUTILS-21
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-21
>      Project: DdlUtils
>         Type: Bug
>     Reporter: Richard Bounds
>     Assignee: Thomas Dudziak
>  Attachments: patch.txt
>
> The drop statements that are generated for sql server are prefixed by:
> IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'tablename')
> Without a delimeter being specified the statement changes to:
> IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = tablename)
> ...which fails (note the lack of quotes around tablename).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message