BrianG
asked on
Casting Memo Field to VARCHAR in mSQL
I am having trouble finding a command to cast a memo field to a VARCHAR in SQL. I want this as part of the WHERE clause.
Thanks,
Brian
Thanks,
Brian
ASKER
I was sorta vague on what I was doing I guess.
I am trying to run a Seagate Crystal report and I need to get records where a memo field is equal to a certain thing, however Crystal reports does not like to have a memo field in the query. Therefore I was trying to cast the field to a varchar.
I am trying to run a Seagate Crystal report and I need to get records where a memo field is equal to a certain thing, however Crystal reports does not like to have a memo field in the query. Therefore I was trying to cast the field to a varchar.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is exactly what I was thinking. Your first comment got me heading that way, and this second one makes me feel all warm and fuzzy.
Thanks for your help!
Brian
Thanks for your help!
Brian
select convert(varchar(255), memofield)
work?