how can I send an IF statement by T-SQL?
Lets suppose that I want to insert something, for example;
Expand|Select|Wrap|Line Numbers
- int n_count = 5;
- string querytosend = @"if (" + n_count + " > 0)
- INSERT persons (name, age, address) values ('raul', 23, 'Könnigstraße 23')";
Raul Bolaños,
Best regards.