Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2006-02-02 : 16:32:29
|
| when i am wroking with asp and want to insert/update into a column defined as 1 bitdo i need to docol1bit=1orcol1bit=trueIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
|
|
cshah1
Constraint Violating Yak Guru
347 Posts |
Posted - 2006-02-02 : 16:40:07
|
| bitcolumn = 1 Should work fine. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2006-02-02 : 16:58:18
|
| i am eorking with a stored procedure where the col1bit defined as@col1bit tinyint=2Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
cshah1
Constraint Violating Yak Guru
347 Posts |
Posted - 2006-02-02 : 17:21:09
|
| Ok first of all please clarify that what datatype you are using in SQL Server bit or tinyint? |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-02-03 : 03:20:34
|
| Post the DDL of table. If the column is of tinyint datatype you cannt assign the value 'True' to itMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|