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
How can I copy Contacts from one ipaq to another
How to print multiple MS WORD docs from browser
Unable to send e-mail invitations in Microsoft Office Live Meeting
annoying 'not connected' error message, dial up connection pop-ups, when i am connected via wireless network
Installing authentic windows xp (pro or home) over possible unlicensed xp version.
options for repairing unstable laptop - low level re-format?
Query to Dump entire mySQL database?
Can't boot XP: recycles, Safe mode fails
configure windows xp back to normal state ... recover xp but do not install windows xp
exchange MTA, all sent mail is NDR'd