Hey,
I would like to write a sql statement for sql server that will pull all records from a table that have a negative number in a certain field. any ideas on how to do this?
thanks.
| SitePoint Sponsor |
Hey,
I would like to write a sql statement for sql server that will pull all records from a table that have a negative number in a certain field. any ideas on how to do this?
thanks.

where certain_field < 0
Check out our new Industry News forum!
Keep up-to-date with the latest SP news in the Community Crier
I edit the SitePoint Podcast
"tab" is the name of your table, and "field" is the name of that certain fieldCode SQL:SELECT * FROM tab WHERE field<0
Link Exchange system - Submit your website/s and exchange links
Aprende a programar - Conceptos básicos sobre programación
Estadísticas de bolsa - Resultados en los índices bursátiles
Bookmarks