|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
eliminating null columns
hi, i'm working with a table in which sometimes there may be a number of columns which will ocntain all null values. Is there a way to construct a query to eliminate the null columns?
Thanks |
|
#2
|
|||
|
|||
|
update
set Col1= 1 from table1 where col1 is null |
|
#3
|
|||
|
|||
|
i guess i didn't quite explain myself too well, i'm looking to create a query which selects all of the data from a table, but if a specific field contains all null rows not to be included
|
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > eliminating null columns |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|