Answer the question
In order to leave comments, you need to log in
MS SQL: How to display table name in SELECT query?
In the command , the SELECT * FROM table
result will be the entire table, but without a title. How to make it so that there is a name?
Tried
SELECT Product AS N'товары'
FROM Mytable AS N'таблица товаров'
Answer the question
In order to leave comments, you need to log in
SELECT 1, 'таблица товаров'
UNION
SELECT 2, Product AS 'товары' FROM Mytable
ORDER BY 1, 2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question