Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
thewizz #1
' error
Hi everyone,
Any help with regards to this error ?
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL Server
Driver][SQL Server]Line 1: Incorrect syntax near '('.
here's my code----
<cfquery name="getpk" datasource="#DSN.Portal#">
ALTER TABLE [dbo].[portalContent] (
[pk] [numeric](18, 0) NULL ,
[contentid] [char] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[title] [varchar] (400) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[datepublish] [datetime] NULL ,
[greetings] [varchar] (400) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[addContent] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[contact_name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[contact_address] [varchar] (150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[contact_telephone] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[contact_email] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[contact_website] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[signature] [varchar] (300) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[client_name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[client_address] [varchar] (150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[client_telephone] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[client_email] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[client_website] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
</cfquery>
Thanks!
thewizz Guest
-
Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:... -
Invalid token &apos
I am a amature pragrammer and need help! i am getting and error: Invalid token '(' found on line 23 at column 46. in my Application... -
Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'
I am having problems getting this webcontrol working properly. Everything else works fine except having items. So here is the low-down on the... -
Unexpected error. A trappable error (C0000005) occurred in an external object.
Hi Elvin, After doing some reseaarch on this problem, I found there is a lot of issues which may cause the problem, for example, incorrect access... -
An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources... -
cjeris #2
Re: ' error
The error message is confusing because it's been double-chewed by an HTML
escaper; the real message is
Incorrect syntax near '('
which is absolutely correct. Check ALTER TABLE in Books Online. You cannot
use the same syntax for ALTER TABLE as you do for CREATE TABLE. You must
add/drop/alter columns individually, or else drop and recreate the table.
cjeris Guest



Reply With Quote

