Viewing 15 posts - 76 through 90 (of 324 total)
I'd union the two datasets BEFORE counting ...
SELECT COUNT(*) AS NUM
FROM
(
SELECT EmployeeID
FROM table1
WHERE EmpTermDate IS NULL
UNION
SELECT EmployeeID
FROM table2
WHERE EmpTermDate IS NULL
) AS UT
March 8, 2005 at 11:34 pm
Reinstall Reporting Services.
It sounds like IIS or the Reporting Services Service has lost some configuration. IIS should be bringing up reporting services, without any meddling with IIS configuration.
February 4, 2005 at 12:43 am
BTW. Microsoft's MSBlaster network scanner is really good for locating hidden SQL Server and MSDE installations. It's amazing how many more instances you can find over osql -L
January 19, 2005 at 11:03 pm
SELECT MONTH(DATE) & YEAR(DATE) AS MONTHYEAR FROM TABLE
& is performing a bitwise AND between the month and year outputs.
In Sql Server you use + to concatenate values...
January 19, 2005 at 10:56 pm
Use Int Identities where you can. Make them a primary key, and build a proper relational database with enforced foreign keys and then you wont have data integrity issues.
If...
January 18, 2005 at 1:27 am
Books online has all about the different data types and their physical storage sizes.
For what it's worth though, you will want to use decimal not float for numbers, as float is...
January 18, 2005 at 1:05 am
Some responses:
re Issue 1: SQL Server only contains a DateTime data type. Date and Time are always combined.
re Issue 2: Use CONVERT style 112 ISO (yyyymmdd) which will always sort correctly...
January 18, 2005 at 12:42 am
You can create a Sql Agent job that was scheduled to execure everyday,, with a step to executed a T-SQL command.
The SQL Command could be set to insert a record...
January 14, 2005 at 1:55 am
You probably will get better performance with using a seperate process/service to send out the emails. Then your updates are not going to take as long, or use as much...
January 14, 2005 at 1:21 am
SQL Server service should be shutting itself down gracefully in any case.
The service will recieve a message from the OS to stop, just the same as if you were to...
January 14, 2005 at 1:17 am
Your log full problem doesn't occur because of cross posting does it ?
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=155419
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=155416
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=24&messageid=155415
One message is usually enough to get an answer. Now I have to post this...
January 14, 2005 at 1:14 am
Your log full problem doesn't occur because of cross posting does it ?
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=155419
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=155416
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=24&messageid=155415
One message is usually enough to get an answer. Now I have to post this...
January 14, 2005 at 1:13 am
Your log full problem doesn't occur because of cross posting does it ?
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=155419
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=155416
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=24&messageid=155415
One message is usually enough to get an answer. Now I have to post this...
January 14, 2005 at 1:13 am
Errr. that's very not right. Perhaps you want something like:
UPDATE TableA
SET val1 = valueX,
val2= valueY,
val3= valueZ
FROM TableA
JOIN (SELECT *
FROM OPENQUERY(linkedserver,
January 14, 2005 at 12:54 am
1. Are you wanting this to occur after an UPDATE occurs on the row?
OR
2. Are you wanting this to occur when the current time makes the calculated age field...
January 14, 2005 at 12:46 am
Viewing 15 posts - 76 through 90 (of 324 total)