on 06-28-2016 6:25 PM
Hello,
I have an excel file that one of the columns is seeing it as Number, but I need to see it as String format. I been reading about casting it string, but I don't seem to get it working.
SELECT 'vKey_`.`vKey`, `vKey_`.`Platform`, `vKey_`.`Program`, `vKey_`.`NamePlate`
FROM `vKey$` `vKey_`
WHERE case('vKey_'.'vKey' as STRING(255))='vKey_`.`vKey`
When I try this Select statement I get an error of:
Database Connector Error: 'DAO Error Code: 0xc03
Source: DAO.Database
Description: Syntax error (missing operator) in query expression (shows me my select statement)
I'm going on the right track or going the wrong way about this. Just need to convert the vKey column to String value.
Any help or suggestions would be appreciated.
Thank you.
Hi Gerald,
Try:
SELECT Text('vKey_`.`vKey`,"0") vkey, `vKey_`.`Platform`, `vKey_`.`Program`, `vKey_`.`NamePlate`
FROM `vKey$` `vKey_`
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.