Viewing 15 posts - 1 through 15 (of 79 total)
SELECT (
SELECT COUNT(assignment)
FROM tb_DNM_1_employee
WHERE (assignment = '7') and (rank = '1')
) AS firstshift,
(
SELECT COUNT(assignment)
FROM tb_DNM_1_employee
WHERE (assignment = '8') and (rank...
March 2, 2012 at 2:34 pm
It worked. Thanks for the advice.
February 22, 2012 at 8:34 am
In MSDB there is a sysdtspackages table but it won't return the information you are lookign for. If the DTS Packages are executed by SQL Server Job then you can...
February 20, 2012 at 2:39 pm
Thanks. I will give this a shot.
February 10, 2012 at 8:13 pm
Open Tasks Manager.
Go to Processes tab
Click View
Click Select Columns
Select the Check box PID
You will see a new column in the Processes tab called PID. The Image Name column corresponding...
February 9, 2012 at 2:43 pm
In the profiler look at the ClientProcessID column. This will give the PID (ProcessorID) of the process from the client application server.
You can get more details about this process...
February 9, 2012 at 1:08 pm
Thanks for correcting me Sean. I am glad you caught it.
February 8, 2012 at 5:39 pm
Yes. You can do that and if Product_Number column is int/bigint you dont need to put it in quotes
SELECT Customer_Number FROM Table
WHERE Product_Number = 1
AND ...
February 8, 2012 at 3:50 pm
I agree with John. This looks like a permission issue. To see SQL Agent you need to be a member of sysadmin role or a member of one of the...
February 8, 2012 at 3:30 pm
Full and Transactional Log backups are not mutually exclusive. A Log backup can occur when full backup is running.
February 8, 2012 at 12:53 pm
Is there a way to stop this alert and error?
Stop the application on the source server from making these calls.
February 8, 2012 at 12:11 pm
I created a role called Documenters in several databases. Then I created a login called TestDocumenter and mapped it to 3 different databases thereby creating 3 users (1 in each...
February 8, 2012 at 12:03 pm
I don't know the IPAddress which this user comes from, where I can check?
The ip address is there in the error message.
Login failed for user 'mydomain\user'. [CLIENT: 10.50.11.44]
It look...
February 8, 2012 at 11:53 am
Login failed for user 'mydomain\user'. [CLIENT: 10.50.11.44]
You can find from the ipaddress which server is the call comming from. Just do ping -a ipaddress. You will know the server name.
February 8, 2012 at 11:42 am
You cannot use AND clause for what you need here. Try this
SELECT Customer_Number FROM Customer_Offer
WHERE Product_Offer IN ( 'Offer2','Offer1')
February 8, 2012 at 8:53 am
Viewing 15 posts - 1 through 15 (of 79 total)