Viewing 6 posts - 16 through 21 (of 21 total)
Yes tried that and this is the error I am getting:
User 'RAC-PC\RAC' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC)...
January 12, 2012 at 12:35 pm
I fixed my WHILE loop. I have 14 databases.
DECLARE @DB_NAME AS sysname, @DB_ID AS INT
SET @DB_NAME = (SELECT name FROM sys.databases
...
January 3, 2012 at 11:14 am
Thanks for your help. I figured it out
December 5, 2011 at 5:43 pm
Thank you,
SELECT DISTINCT O.empid, HR.firstname, HR.lastname
FROM Sales.Orders AS O
JOIN HR.Employees AS HR
ON O.empid = HR.empid
WHERE NOT EXISTS
(SELECT DISTINCT empid
FROM Sales.Orders
WHERE YEAR (orderdate) = 2007 AND
MONTH (orderdate)...
December 5, 2011 at 5:00 pm
Viewing 6 posts - 16 through 21 (of 21 total)