> On 2/20/08, erik tom <[EMAIL PROTECTED]> wrote:
> > I have a column datatype text. And when i try to run the query I get
> the error
> > [Macromedia][SQLServer JDBC Driver][SQLServer]Operand type clash:
> text is incompatible with int
> > The query is
> > select menuId,label,foundOn from dbo.menu where menuId IN (select
> foundOn from dbo.menu where menuId=#form.selTopLevel2#) order by
> menuId
>
> Can you share the full table description for dbo.menu?
>
> Also, change #form.selTopLevel2# to <cfqueryparam cfsqltype="XXX"
> value="#form.selTopLevel2#"> - where XXX is the appropriate type for
> the menuId field... ie... cf_sql_integer
>
> Rick
>
>
> --
> Rick Root
> New Brian Vander Ark Album, songs in the music player and cool behind
> the scenes video at www.myspace.
com/brianvanderark
the full table desc is
[MenuId] [int] IDENTITY(1,1) NOT NULL,
[label] [varchar](100) NOT NULL,
[description] [text] NOT NULL,
[foundOn] [text] NOT NULL,
[link] [text] NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299503
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4