I want to do a sql search to find out if some of these custom cck fields are used anywhere on my site.
This are custom fields and I am using cck_blocks to display as a right side block in the right side region only when its added to a page by the editor.
I came up with this but its not correct syntax
SELECT * from content_field_sidebar_content WHERE content_field_sidebar_content.field_sidebar_content_value IS NOT NULL
if the value in column field_sidebar_content_value is not null this means it means this nid is using the cck field.