Piotr Rodak

if datepart(dw, getdate()) in (6, 7)
use pubs;

January 2008 - Posts

Boss told you to come up with a question to test new programmers? Here's one: you have a linked server and an openquery statement. What is the number returned by this query?

 select count(*) from openquery(LINKED_SQL, 'select count(*) from database.dbo.table1')

Posted by Piotr Rodak | with no comments