SQL Server 2 Flashcards

1
Q

What is SQLCMD?

A

sqlcmd is enhanced version of the isql and osql, and it provides way more functionality than other two options. In other words, sqlcmd is better replacement of isql (which will be deprecated eventually) and osql (not included in SQL Server 2005 RTM). sqlcmd can work in two modes – i) BATCH and ii) interactive modes. (Read more here)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ROW_NUMBER()?

A

ROW_NUMBER() returns a column as an expression that contains the row’s number within the result set. This is only a number used in the context of the result set; if the result changes, the ROW_NUMBER() will change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly