FAQ
Members List
Calendar
Mark Forums Read
select cast help !!!
dbTalk Databases Forums
Databases
comp.database.ms-sqlserver
select cast help !!!
comp.database.ms-sqlserver
comp.database.ms-sqlserver
Discuss
select cast help !!!
in the
comp.database.ms-sqlserver
forum.
Thread Tools
Display Modes
#
1
T.M.
Posts: n/a
select cast help !!! -
01-25-2006 , 07:34 PM
What is the correct syntax for querying the first 20 characters of a
memo field?
I'm trying to
SELECT CAST (varchar(20) fieldname) as newfieldname
and i get a bunch of errors
Can someone please help me?
MS Access DB used with ColdFusion
Thanks
T.M.
#
2
scott.x.lu
(Offline)
Junior Member
Posts: 5
Join Date: Jun 2006
07-05-2006 , 01:26 AM
hi,
Cast should be the following:
CAST (fieldname as varchar(20)) as fieldname
scott.x.lu
View Public Profile
Send a private message to scott.x.lu
Find all posts by scott.x.lu
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Contact Us
-
dbTalk Databases Forums
-
Archive
-
Top