Viewing 15 posts - 616 through 630 (of 921 total)
quote:
I don't believe you can use NULL with DATETIME or SMALLDATETIME datatypes. DATETIME and SMALLDATETIME have defaults so that means NULL isn't...
October 27, 2003 at 10:31 am
You can insert the result set from a SP that returns one into a table by using the INSERT INTO...EXECUTE... syntax. It's covered in BOL under INSERT (described). ...
October 27, 2003 at 9:50 am
You can indeed set constraints to 'NOCHECK' but that will not allow table truncation.
You'll need to drop the foreign key constraints in order to truncate the tables they...
October 27, 2003 at 9:28 am
I suggest using neither bitmap nor separate columns. You admit that this may need to be extended...
http://www.sqlservercentral.com/forum/link.asp?TOPIC_ID=16423
--Jonathan
Edited by - Jonathan on 10/27/2003 09:14:04 AM
October 27, 2003 at 9:10 am
This doesn't need to be a stored procedure, as it's just one query:
USE Northwind
go
SELECT n.dow, ISNULL(SUM(o.Freight),0)
FROM Orders o RIGHT JOIN
(SELECT 1 dow
UNION ALL SELECT...
October 27, 2003 at 8:58 am
Perhaps something like this?
SELECT c.Item_No, c.Item_YesNo, c.Item_Date
FROM CheckList c JOIN
(SELECT Item_No, MAX(Item_Date) Item_Date
FROM Checklist
GROUP BY Item_No) m ON c.Item_No = m.Item_No AND c.Item_Date =...
October 24, 2003 at 5:00 pm
quote:
I have read BOL numerous times... and all transactions are very short in duration. What I see happening is completely contradictory....
October 24, 2003 at 3:08 pm
quote:
Here's what was given to me for my recommendations:Idea before DBA input:
Our environment includes 3 Web Servers(IIS) which are load balanced, 2...
October 24, 2003 at 2:29 pm
Read BOL entry on Checkpoints and the Active Portion of the Log.
If you have the recovery interval set to the default of zero, then (unless you're using the simple recovery...
October 24, 2003 at 2:07 pm
If you're seeing a lot of these messages, perhaps you've got one or more of the databases set to AUTO_CLOSE...
--Jonathan
October 24, 2003 at 1:39 pm
My guess is that AWE is not set up properly. What is SQL Server's memory usage? (SQL Server: Memory Manager: Total Server Memory (KB) or just Mem Usage...
October 24, 2003 at 12:34 pm
Yes, you do. The only type of disaster recovery (DR) server that doesn't need its own license is the non-active server in an Active/Passive failover cluster.
--Jonathan
October 24, 2003 at 11:41 am
quote:
Here's a user defined function that does what you need. You will have to create tblHolidays and populate it with all...
October 24, 2003 at 11:27 am
That's normal but not guaranteed.
It's best to explicitly order any result set that should be ordered. It doesn't cost you anything but the extra typing.
--Jonathan
October 24, 2003 at 10:49 am
quote:
Thansk for all this great info.I am sorry I neglected to provide some pertinent information about our server farm concept.
It appears that...
October 24, 2003 at 10:37 am
Viewing 15 posts - 616 through 630 (of 921 total)