Answer the question
In order to leave comments, you need to log in
Why is the procedure not created?
Answer the question
In order to leave comments, you need to log in
That's right, you can't be so perverted :-)
If you really want to, you can make a dynamic request and execute it via EXEC . More or less like this:
DECLARE @query AS nvarchar(1024);
SET @query = N'CREATE VIEW WomanAward AS
SELECT * FROM [Сотрудники]
WHERE [Пол] = ''Ж'' AND [Премия] BERWEEN 130 AND 210';
EXEC sp_executesql @query;
-- EXEC(@query);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question