select datasource_id from portal_datasources where name = :name;