Viewing 15 posts - 271 through 285 (of 921 total)
Can't you just join the tables?
SELECT a.Audit_Date, SUM(a.Audit_Total_Units) AS TotalClaims, SUM(ISNULL(e.Error_Unit_Count,0)) AS TotalErrors
FROM Audits a LEFT JOIN Audit_Errors e ON a.Audit_Id = e.Audit_Id AND e.Error_Type_Id = 6
GROUP BY a.Audit_Date
ORDER BY...
January 8, 2004 at 3:15 pm
January 8, 2004 at 7:10 am
<quote>With the /3GB switch and no modification to max server memory, will SQL Server still be limited to 2GB of memory?</quote>
No; SQL Server 2000 EE on Windows 2000 AS will...
January 7, 2004 at 3:17 pm
You cannot do this wthout changing the SQL statement as written because, without quotes, the word True will be seen as an identifier, not a value. Unless SQL is written...
January 7, 2004 at 2:08 pm
Perhaps something like this:
SELECT cl.ID, i.SumRsvInd, e.SumRsvExp
FROM dbo.CL cl
JOIN
(SELECT t.ID, SUM(c.Rsv_Indemnity_Amt) SumRsvInd
FROM dbo.ClTransaction t JOIN Code_Value c ON t.Transaction_Cd = c.Code_Value_Id
GROUP BY t.ID) i ON i.ID...
January 7, 2004 at 11:35 am
I know nothing about Access, but here are some good tips:
http://www.sql-server-performance.com/visual_basic_performance.asp
I also suggest reading Andy Warrens Introduction to ADO articles on this site.
January 7, 2004 at 11:08 am
Your default collation is not for binary sort order. Try:
WHERE MyLastNameField BETWEEN CAST(CHAR(0) AS char(1)) COLLATE Latin1_General_BIN
AND CAST(REPLICATE(CHAR(255),60) AS varchar(60)) COLLATE Latin1_General_BIN
or:
CREATE TABLE MyTestTable(MyLastNameField...
January 7, 2004 at 10:32 am
You could use an INSTEAD OF trigger and check the text column(s) using IF UPDATE() and then joining the table to deleted on the primary key and sending the text...
January 7, 2004 at 10:12 am
Yes. Full (and differential) backups are independent of the chain of tran log backups.
January 7, 2004 at 9:42 am
Yes. If the tran log has not been backed up since before the desired point-in-time, back up the tran log. Then restore yesterday's full backup and its previous tran log backup...
January 7, 2004 at 9:24 am
You do not need to reinstall. See the Renaming a Server topic in BOL. Plus, perhaps, this:
January 7, 2004 at 6:29 am
WHERE ISNULL(SUBSTRING(a.TexrCol,DATALENGTH(a.TextCol)),'~~Null~~') = ISNULL(SUBSTRING(b.TextCol,DATALENGTH(b.TextCol)),'~~Null~~')
January 6, 2004 at 1:37 pm
quote:
On a side note, there was the utility unitomp (???) to upgrade NT4. When I set up Win2003 I ended up reinstalling...
January 2, 2004 at 9:06 am
As you were planning to include the password in your connection string anyway, why not just use an application role if there's only one database?
--Jonathan
January 2, 2004 at 9:02 am
quote:
JonathanI am looking at your SP and trying to understand it. Is there any documentation on spt_values? I can't seem to...
December 31, 2003 at 1:34 pm
Viewing 15 posts - 271 through 285 (of 921 total)