Using 1 or 0 for true/false statements with INSERT INTO

ITcore

Warlord
Joined
Dec 25, 2016
Messages
248
Location
127.0.0.1
Does SQL treat 1/0 as true/false with INSERT INTO functions? I keep getting a unique constraint failed at ModifierArguments.ModifierId and ModifierArguments.Name and one of the arguments uses true/false values.
 
The type of SQL statement doesn't matter as True/False boolean values are always stored as 1/0.

I assumed as much but wanted to cover all my bases. I keep returning the unique constraint failure for ModifierArguments and I'm stumped.

EDIT: Found it. Had an attach modifier listed twice. Doh.
 
Last edited:
Back
Top Bottom