SunQuest
           ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 27th, 2004, 04:00 AM
a_vidyaa a_vidyaa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 a_vidyaa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
vendorerrorcode

I am getting an error,
when using an cfinsert statement.

The error shows that the venorerrorcode is 911 and the sqlstate is 42000.

What does this vendorerrorcode mean? how can i find the list of these codes?


Thanks,
Vidya

Reply With Quote
  #2  
Old July 27th, 2004, 11:45 AM
jordonbedwell jordonbedwell is offline
Ultra Geek!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 294 jordonbedwell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 19 sec
Reputation Power: 5
Quote:
Originally Posted by a_vidyaa
I am getting an error,
when using an cfinsert statement.

The error shows that the venorerrorcode is 911 and the sqlstate is 42000.

What does this vendorerrorcode mean? how can i find the list of these codes?


Thanks,
Vidya


Vendor error code is your database makes error code; mssql, mysql, access, oracle.

You dont need to worry about that, you need to worry about the other error statments.

Reply With Quote
  #3  
Old July 27th, 2004, 11:50 AM
jordonbedwell jordonbedwell is offline
Ultra Geek!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 294 jordonbedwell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 19 sec
Reputation Power: 5
Also if im correct <cfinsert> is not supported by CFMX

Use

<cfquery name="name" datasource="whatever">
INSERT INTO table_name (column1, column2, column3)
VALUES (integer_vale, 'text_value', 'memo_value')

</cfquery>

Reply With Quote
  #4  
Old July 27th, 2004, 08:14 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,627 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 8 m 55 sec
Reputation Power: 53
In fact, never use cfinsert or cfupdate. Write your own SQL.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > vendorerrorcode


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway