Microsoft
Software
Hardware
Network
Question : converting data type varchar to numeric
Hello Experts,
My database table named ORDER_PRICE contains a UNITPRICE column.When I try to execute the following insert statement then I get the Error "converting data type varchar to numeric"...
How can I solve this problem please help..
set dateformat DMY INSERT INTO
[ORDER_PRICE] ([ORDERDATE] ,[ONUNICLO] ,[STYLE] ,[MERCH] ,[UNITPRICE] )
VALUES ('11.11.2009','XHT-11','ED
I_MODEL','
merchx','1
,25')
Answer : converting data type varchar to numeric
>>Is there any way to do this without changing the regional settings?<<
Use the REPLACE as in:
REPLACE('1,25', ',', '')
Random Solutions
Exchange 2003 ActiveSync and OMA
How do I import Macros and the icon onto a new pc from an old pc
Cells.Find Problems
tab indent and un-indent in BBEdit
Project Proposal guide lines for developing online business
Registry permissions problem on Windows 2000 Server/MSSQL 7
Copy all files in one directory
How to reinstall Outlook Express
Conditional Operator
Errors mounting Store, -1216 -528 missing log files