Hi
I am developing a program that can work with Access or Microsoft SQL server. I used different syntax for SQL statements. It works fine with Access. When i try with msSQL i got one problem that i don't know how to solve.I use one column - yes/no type and when i import tables to msSQL database,the column turns to bit type(0 or 1 values). When i want to update at msSQL, I can't use the "NOT" as i use in Access in below statement.
UPDATE Table
SET Column = NOT Column
WHERE (ID = 1);
I found online but can't find that topic.
Really appreciate the help!
I am developing a program that can work with Access or Microsoft SQL server. I used different syntax for SQL statements. It works fine with Access. When i try with msSQL i got one problem that i don't know how to solve.I use one column - yes/no type and when i import tables to msSQL database,the column turns to bit type(0 or 1 values). When i want to update at msSQL, I can't use the "NOT" as i use in Access in below statement.
UPDATE Table
SET Column = NOT Column
WHERE (ID = 1);
I found online but can't find that topic.
Really appreciate the help!