Join 300,419 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,500 people online right now. Registration is fast and FREE... Join Now!
i am still relatively new to cold fusion and so i just need some help with the cf sql types. the field report key is a randomly generated unique identifier. if anyone knows what i need to put in for the cfsqltype that will be greatly appreciated! or if you see another problem with my code let me know. thanks!!
This is the error that Im getting for the following code. Invalid data [B9952407-09F1-7DB4-4BE57A21790A38BC] for CFSQLTYPE CF_SQL_VARCHAR.
CODE
<!--- This code publishes the randomly created Exploitation Draft Reports in the CIDNE database --->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <cfobject name="CIDNEGeoCoord" component="_components.geocoord">
also when i try this code i receive this error. [Macromedia][SQLServer JDBC Driver][SQLServer]Subqueries are not allowed in this context. Only scalar expressions are allowed.
in this code i set the array keys to a list before the if statement. then i use the list as the variable in the if statement and in the query insert.
CODE
<!--- This code publishes the randomly created Exploitation Draft Reports in the CIDNE database --->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <cfobject name="CIDNEGeoCoord" component="_components.geocoord">
i am still relatively new to cold fusion and so i just need some help with the cf sql types. the field report key is a randomly generated unique identifier. if anyone knows what i need to put in for the cfsqltype that will be greatly appreciated! or if you see another problem with my code let me know. thanks!!
This is the error that Im getting for the following code. Invalid data [B9952407-09F1-7DB4-4BE57A21790A38BC] for CFSQLTYPE CF_SQL_VARCHAR.
CODE
<!--- This code publishes the randomly created Exploitation Draft Reports in the CIDNE database --->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <cfobject name="CIDNEGeoCoord" component="_components.geocoord">
cfrobuster thanks for the response but i actually figured it out and it had nothing to do with the sql type. the problem was with the published query. i added a where clause and that fixed the problem. but thanks for your reply.
QUOTE(cfrobuster @ 14 May, 2009 - 05:49 AM)
I can help you with your problem. Please get a hold of me.
i am still relatively new to cold fusion and so i just need some help with the cf sql types. the field report key is a randomly generated unique identifier. if anyone knows what i need to put in for the cfsqltype that will be greatly appreciated! or if you see another problem with my code let me know. thanks!!
This is the error that Im getting for the following code. Invalid data [B9952407-09F1-7DB4-4BE57A21790A38BC] for CFSQLTYPE CF_SQL_VARCHAR.
CODE
<!--- This code publishes the randomly created Exploitation Draft Reports in the CIDNE database --->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <cfobject name="CIDNEGeoCoord" component="_components.geocoord">