Viewing 15 posts - 556 through 570 (of 708 total)
"Scalable" to 50M records? We're jamming 200M records every day into a couple SQL Server 2000 databases at my company.
Here's the simple math: If a company cannot afford a...
August 14, 2006 at 11:38 pm
Just like VB6: set a reference to the SQL-DMO COM library. COM-Interop will take care of the plumbing. You may even be able to upgrade much of your VB6 project...
August 3, 2006 at 10:13 am
Try joining Inc_History just once without the condition, and use a CASE statement to separate the two types of values to sum:
To get the Incident_Bill time:
CASE...
August 3, 2006 at 9:56 am
I've tried something similar in the past. I don't recall my full experience, but I've got some ideas. I think the key was using linkedserver.master.dbo.sp_executesql, and including a...
August 1, 2006 at 3:05 pm
Jules,
Common Table Expressions (CTEs) are new to SQL Server 2005, this might be a more lively thread over in one of the 2005 forums.
From BOL:"A CTE is...
August 1, 2006 at 2:58 pm
You forgot the Cell_Phone column in the temp table, between Office_Phone and Total_Contribute.
-Eddie
August 1, 2006 at 2:39 pm
IDENTITY_INSERT, as Sergiv pointed out, is quite useful, but only when you wish to disable the IDENTITY column temporarily. Only one table may have IDENTITY_INSERT set to ON for a...
July 30, 2006 at 10:42 pm
You don't need a license to execute BACKUP DATABASE.
July 13, 2006 at 2:06 pm
First, is PayCode (in paymentTypes) a value that is unique per payment, or is it a way of determining what type if payment (cheque/cash/credit card) was applied? If it is...
July 13, 2006 at 6:25 am
>Need a script to mess up the data in a table
Hmm... you could just install Enterprise Manager on developer computers and go to lunch. They'll take care of it for you,...
July 12, 2006 at 3:06 pm
Enter the lowly NULL value.
The credit card info columns in your target table(s) must allow null values...
CREATE TABLE dbo.PaymentInfo(
....(other columns)...
@cardName nvarchar(50) NULL,
@expirationDate DateTime NULL,
@authorizationCode nvarchar(50) NULL, -- nvarchar? do you get...
July 12, 2006 at 3:03 pm
Take a look at SQL Server 2005 Reporting Services. (I know you're running 2000, but the 2005 Reporting Service and its databases could be installed on a separate box, connecting...
July 11, 2006 at 3:23 pm
If my usual search is going from top (parent) to bottom, then I cluster on the ParentID column, in this case, SupervisorID. I usually have more than one column as...
July 10, 2006 at 9:40 am
> ...But its length is maximum upto 8,000 charaters
nvarchar(max) can hold over 1,000,000,000 Unicode (double-byte) characters.
If you're having trouble getting all of your data into the variable, be sure you're...
July 8, 2006 at 11:05 am
The scores were fixed a few weeks ago, the email went out recently (I got mine last night).
There were a *lot* of people (including me) who walked away from that...
July 6, 2006 at 12:48 pm
Viewing 15 posts - 556 through 570 (of 708 total)