Zolf
asked on
Cannot edit data directly in table
Hello there,
I am using sql server 2005 and when i try to edit the data in the table i get error
saying conversion failed when converting the varchar value 'List' to data type 'int'. but when i write query to UPDATE it works.but not directly in the studio.
what is the reason.
please help
cheers
zolf
I am using sql server 2005 and when i try to edit the data in the table i get error
saying conversion failed when converting the varchar value 'List' to data type 'int'. but when i write query to UPDATE it works.but not directly in the studio.
what is the reason.
please help
cheers
zolf
You are trying to insert a varchar value into an integer column
ASKER
no i am trying to put an integer value in a column which has type int
Can u try it again, make sure that you selects the exact integer column, and try to insert an integer value, I dont think otherwise SQL Thows such an errro
ASKER
no i am sure i am inserting the values in the right column.by the way has it got to do with my table collation which is SQL_Latin1_General_CP1_CI_
can u try it again ?
are you trying to insert multiple integers with something delimited like a SPACE or a LIST type of things...if yes then it will not get updated...can you give us the value taht you are trying to insert ?
ASKER
there is a column with type int and i am trying to insert 955 in it.
sorry for haressing you with questions...are you typing 995 ? or copy Pasting it ?
ASKER
thanks for your comment
i am typing.it is very funny that i am facing this problem.
Can you provide the screenshot of your error screen.
ASKER
how can i display a sceenshot in EE
ASKER
somebody help
you can follow either of ther two things,
you can upload those picture in webshots and paste the link here
Another option is, if your organisation permits,
install the LogMeIn Free tool form LogmeIn.Com , thru that you can remotly share your desktop .
you can upload those picture in webshots and paste the link here
Another option is, if your organisation permits,
install the LogMeIn Free tool form LogmeIn.Com , thru that you can remotly share your desktop .
ASKER
I didi't find the error you describe above, all i can see is an optimistic concurrency control error.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.