Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the SQL Server's equivalent to the DUAL table in Oracle?

Status
Not open for further replies.

PaullyB

Programmer
Feb 1, 2001
5
0
0
US
I am new to SQL Server. I am curious if there is a SQL Server equivalent to the DUAL table in Oracle?

Thanks,

PB
 
There not really a similar psuedotable in SQL Server that I know of, but you can achieve the same effect.

Oracle
Code:
SELECT sysdate
FROM dual;

SQL Server T-SQL
Code:
SELECT getdate()
GO
Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top