|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need Query help
I'm fairly new to SQL and cannot figure out how to return the ammount of rows that have nothing in them.
I'm sure it's something like SELECT collumn_name FROM table_name WHERE id = ' ' but that doesn't work. Can anyone help me out with this? Frogger |
|
#2
|
||||
|
||||
|
What field are you checking for empty?
|
|
#3
|
|||
|
|||
|
Need Query Help
Quote:
To make it clearer, SELECT assets_pk, cost_center_nv, manufacturer_nv FROM Assets_T Where COST_CENTER_NV like ??????? |
|
#4
|
||||
|
||||
|
If you are wanting to return row where the Cost_Center_Nv is empty, then do this
Code:
SELECT assets_pk, cost_center_nv, manufacturer_nv FROM Assets_T WHERE cost_center_nv = '' |
|
#5
|
|||
|
|||
|
i think this is what you ishould do
select col_name from table_name where id is NULL; Quote:
|
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Need Query help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|