Chris Harshman - Friday, February 23, 2018 2:37 PM
You can create objects in those schemas and work with them like other objects - you can't see them but they are there:
CREATE TABLE [db_datareader].Test
(SomeID int);
SELECT [name], SCHEMA_NAME(schema_id) as SchemaName
FROM sys.objects
WHERE [name] = 'Test';
SELECT [name], SCHEMA_NAME([schema_id])as SchemaName
FROM sys.tables
WHERE [name] = 'Test';
INSERT [db_datareader].Test
values
(2);
SELECT *
FROM [db_datareader].Test;
Sue