Viewing 15 posts - 76 through 90 (of 151 total)
A couple questions:
Is the space actually showing as 'used' or is it showing as 'allocated'?
If allocated, do you see the size of the temp table(s) created getting larger (perhaps exponentially)...
February 12, 2004 at 10:51 am
If you want to use EM, you can use the Import/Export wizard. The source and target database would be the same, then select your table in the dialog and change...
January 22, 2004 at 3:24 pm
There would definitely be even more work involved, but could it also make sense to break your formulas up into smaller chunks for readability? Or you could slice up your...
January 22, 2004 at 12:06 pm
Well, I created the link months ago... and I've slept since then... but sysservers shows it as SQLOLEDB. So yes, it's SQL Server.
<BEAT_DEAD_HORSE>
Say, the...
January 22, 2004 at 11:37 am
Use IsNull(<ColumnName>,0)
SJTerrill
January 22, 2004 at 10:47 am
Thanks for the response, rstone.
I've done some additional reading on SQL Server cache behavior since yesterday (and thanks for the KB number). It looks like the alternatives aren't appropriate for...
January 22, 2004 at 10:42 am
Perhaps my original post was naive. I understand that, if what I'm observing is accurate (which I've checked against two of my associates), then SQL Server must be caching something.
My...
January 22, 2004 at 8:34 am
Shooting from the hip, something like this?
SELECT audit_date, audit_id, Sum(audit_total_units) as totalclaims, Sum(error_unit_count) FROM audits JOIN audit_errors ON audits.audit_id = audit_errors.audit_id WHERE audit_errors.error_type_id = 6 GROUP BY audit_date, audit_id
--SJTerrill
January 8, 2004 at 3:14 pm
If this is the error you're getting:
Column '<column_name>' is invalid in the HAVING clause because it is not contained in either an aggregate function or the GROUP BY clause.
then try...
January 8, 2004 at 3:03 pm
Is P:\ mapped for the computer you're working on, or for the SQL Server in question?
xp_cmdshell works as if you were running a command prompt from the SQL Server itself.
SJTerrill
January 6, 2004 at 8:33 am
Ah, so that's where all those dratted smileys went.
SJTerrill
December 19, 2003 at 3:02 pm
I feel like I'm over simplifying these things, because someone usually follows up my code plops with a set-based solution.
If you want separate recordsets, though, would this...
December 19, 2003 at 2:12 pm
From BOL CREATE TABLE:
quote:
A local temporary table created in a stored procedure is dropped automatically when the stored procedure completes. The table...
December 19, 2003 at 12:08 pm
Ah, yes. Hadn't considered that. Good idea!
SJTerrill
December 18, 2003 at 4:43 pm
In regards to your second requirement, xp_senmail will return only 0 or 1. You'll note my code ignores the return value. The code to get it is kinda backward, I...
December 18, 2003 at 4:39 pm
Viewing 15 posts - 76 through 90 (of 151 total)