Handling case where SchemaName is null or empty.