Viewing 15 posts - 436 through 450 (of 458 total)
The problem is that #3 does have a matching value in #2. SQL has no problem joining both #1 and #3 to #2. If you can place another...
May 2, 2006 at 10:35 am
It sounds like you might be referring to the EXCEPT clause from SQL 2005.
SELECT * FROM customerequipment -- 900 records
EXCEPT
SELECT * FROM customer --461 records
That will return the rows...
May 2, 2006 at 10:25 am
This is really easiest done if you have sequential numbering of the rows (i.e. via an IDENTITY column). So if you had:
row date
1 ...
May 1, 2006 at 6:25 pm
Sorry, I should've been more clear. The whole quote is:
"Indexed view creation is supported in all editions. Indexed view matching by the query processor is supported only in Enterprise...
May 1, 2006 at 6:01 pm
"Indexed view creation is supported in all editions."
Source:
http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx
May 1, 2006 at 6:00 pm
There's a number of third-party tools which will do this for you. That's easiest. Either that or just configure yourself as an operator and set the backup job...
May 1, 2006 at 5:45 pm
Reporting Services is included in your licensing costs for SQL Server.
You can embed the SQL query into the report much in the same way you can define the source data...
May 1, 2006 at 10:42 am
You might also look into creating a DTS package and scheduling it. I've found the GUI can be much easier for those who aren't very adept with SQL.
You can...
April 28, 2006 at 10:38 am
You might want to consider seperating out these actions into different job steps. In case something goes wrong it might be easier to troubleshoot it down the line.
April 28, 2006 at 9:41 am
I'm not 100% sure I'm reading you right, but that looks like it should work fine.
If you use Enterprise Manager to reset the accounts which SQL Server uses for startup...
April 28, 2006 at 9:37 am
I'm assuming that you have a table for people and a table for products... You might want to think about doing your join something like this (pseudocode, as above...
April 27, 2006 at 11:19 am
Try this?
IF NOT EXISTS (SELECT 1 FROM dbo.sysobjects WHERE name = @tablename AND xtype = 'U')
BEGIN
SET @var1 = 'CREATE TABLE ' + @tablename
EXEC (@var1)
END
SET @var1 =...
April 27, 2006 at 11:16 am
I always do what the poster above did but append on another CONVERT(DATETIME... to it.
April 13, 2006 at 11:11 pm
Possibly, you might try WHERE LEFT(vendor_name, 1) = 'a'... that might work better.
April 12, 2006 at 3:08 pm
Viewing 15 posts - 436 through 450 (of 458 total)