Viewing 15 posts - 42,811 through 42,825 (of 49,571 total)
Jeff Moden (11/29/2008)
So you're saying that a derived table takes no memory?
Considering that a derived table in a query isn't usually executed in 2 steps (ie, the query processor doesn't...
November 29, 2008 at 2:50 pm
I used to have some of mine in my sig. Not a laundry list. Just 2 or 3. I put them there after a bad experience (on another forum) where...
November 29, 2008 at 2:19 pm
If @DateMin < @DateMax
Begin
(Select InvoiceNumber, InvoiceDate, InvoiceTotal, InvoiceTotal-PaymentTotal-CreditTotal AS Balance
That bracket right after the begin that shouldn't be there.
InvoiceDate < @DateMax+1
Meaning 1 day later than the datemax that the user...
November 29, 2008 at 2:06 pm
t-pinto (11/29/2008)
If @DateMin < @DateMaxBegin
(Select InvoiceNumber, InvoiceDate, InvoiceTotal, InvoiceTotal-PaymentTotal-CreditTotal AS Balance
From Invoices
Order By InvoiceDate
END
The rest looks good (other than the varchar types)
What do you want to do with the resultset...
November 29, 2008 at 1:56 pm
Jeff Moden (11/28/2008)
November 29, 2008 at 1:48 pm
rbarryyoung (11/29/2008)
November 29, 2008 at 12:14 pm
You left out the equals sign in the procedure call. You had that part right last time.
November 29, 2008 at 12:13 pm
When you installed SP2, there should have been a utility launch at the end to allow you to specify which windows accounts are sysadmin. On Vista and Server 2008, members...
November 29, 2008 at 10:12 am
Jack Corbett (11/29/2008)
They imply you memorized some canned answered and/or went to boot camp.
There's a frighteningly small percentage that actually studied the material. Not many, but there are some.
November 29, 2008 at 9:43 am
Well, your procedure (as you posted it) doesn't have any input parameters, hence trying to pass one is going to give an error.
You don't need a variable called @ColumnName, you...
November 29, 2008 at 9:38 am
Jack Corbett (11/29/2008)
November 29, 2008 at 9:34 am
Ok, that's not of much help. I hate the way the errors are cut off.
See if you can find the job that runs the maint plan. Open the job, find...
November 29, 2008 at 9:34 am
Jeff Moden (11/29/2008)
GilaMonster (11/29/2008)
Though, if you look, most of those certs are not SQL related...
True enough... but they are suppose to imply the ability to think and do a little...
November 29, 2008 at 9:29 am
Oksana March (11/29/2008)
Hi Gail,"Stop SQL" you mean stop SQL Server Agent in the Control Panel--Services?
No. I mean stop SQL server. The SQL service must be stopped before you can access...
November 29, 2008 at 9:28 am
The command I executed to stop the trace:
declare @TraceID int
exec sp_trace_setstatus @TraceID, 0
You need to set the variable to the ID of the trace you're trying to manipulate. There can...
November 29, 2008 at 9:22 am
Viewing 15 posts - 42,811 through 42,825 (of 49,571 total)