Viewing 15 posts - 5,206 through 5,220 (of 6,486 total)
This seems to get past the parser - care to give it a whirl?
SELECT TOP 100 PERCENT
dbo.CheckingAccountTransaction.CheckingAccountTransactionId,
dbo.CheckingAccountTransaction.CheckingAccountId,
dbo.CheckingAccountTransaction.TransactionDate,
dbo.CheckingAccountTransaction.CheckNumber,
dbo.CheckingAccountTransaction.TransactionStatus,
dbo.CheckingAccountTransaction.ReviewDate,
dbo.CheckingAccountTransaction.ReviewStatus,
dbo.CheckingAccountTransaction.TransactionDebit,
dbo.CheckingAccountTransaction.TransactionCredit,
dbo.CheckingAccountTransaction.TransactionDescription,
(SELECT
COALESCE(dbo.CheckingAccount.PrevCheckingAccountBalance, 0) +...
January 16, 2008 at 12:29 pm
If it's installed - there should be a service (which the default installed will set to manual startup). Try setting the service to auto startup and start the service,...
January 16, 2008 at 11:46 am
Try using the ROW_NUMBER() options. This uses a CTE
WITH CT (taskID,subtaskID,sequencenumber, RN) as
( select ct.taskTaskID as TaskID,
subTaskID,
...
January 16, 2008 at 11:07 am
Try this -
Instead of the EXECUTE - put in PRINT @sql. It will output the SQL code it generates (meaning - the query it's trying to execute....
January 16, 2008 at 10:49 am
GilaMonster (12/27/2007)
Possibly SELECT * requires an extra lookup to the system tables to get the column names. Kinda...
January 16, 2008 at 10:32 am
Wayne - he's talking about having the ORDER BY in the select within the function. Otherwise - you have no guarantees that it will concatenate the lines in the...
January 16, 2008 at 10:24 am
Have you made sure you don't have parameter sniffing going on?
It sounds like it's making assumptions on how big the recordset will be during the execution plan which then are...
January 16, 2008 at 10:20 am
You're creating the alias on each of the client machines, right?
That's how it's supposed to work. You create aliases (pointing to specific remote names and ports) on the client,...
January 16, 2008 at 10:13 am
It doesn't keep cascading, since cascades flow from parent to child. Since FacilityAddress is a "child" to BOTH Address and to Facility, it's not going to keep cascading, since it's...
January 16, 2008 at 10:06 am
You might care to try adding the WITH RECOMPILE option to the SP. It sounds like the cached execution plan doesn't work so well in that case, so forcing...
January 16, 2008 at 9:54 am
Also if you could - post code inside of a code block, so that if formats a little. That's awfully hard to read.
(click on the IFCODE option in the...
January 16, 2008 at 9:41 am
Unless I'm mis-reading it - there's a [ missing on this line:
) p PIVOT ( SUM(quantity) FOR partname IN ( '+
should be
...
January 16, 2008 at 9:37 am
you realize that you're using the Variable name (not the column name) in the OR, right? meaning - if the variable is the empty string - it should return...
January 16, 2008 at 9:32 am
Go to the command prompt in the SQL Server setup directory and run
Setup /SKUUPGRADE=1
Should prompt you to upgrade every component (including the database engine). Now - it won't change...
January 16, 2008 at 9:29 am
TheSQLGuru (1/16/2008)
January 16, 2008 at 9:24 am
Viewing 15 posts - 5,206 through 5,220 (of 6,486 total)