Viewing 15 posts - 1,801 through 1,815 (of 2,007 total)
David Burrows (8/4/2010)
August 4, 2010 at 10:17 am
Alvin Ramard (8/4/2010)
August 4, 2010 at 9:56 am
Jack Corbett (8/4/2010)
August 4, 2010 at 9:48 am
ganeshanmsc (8/3/2010)
Step-by-Step how to configure SQL server 2000 log shipping?i want configure to sqlserver 2000 logshipping
What you've posted here is the equivalent of me defecating on your shoes. If...
August 4, 2010 at 8:30 am
itskumar2004 (8/3/2010)
can anyone please tell me what expression...
August 4, 2010 at 8:21 am
dallas13 (8/3/2010)
Msg 911, Level 16, State 1, Line 9
Could not locate entry...
August 3, 2010 at 10:16 am
tom 29037 (8/3/2010)
August 3, 2010 at 10:08 am
dallas13 (8/3/2010)
Incorrect syntax near ' +@CostCenterCode+ '.
i m not able to adjust these commas in this dynamic sql. i...
August 3, 2010 at 10:01 am
itskumar2004 (8/3/2010)
where should i specify input column ,i have replaced date with my input column and i got error.can you please give me full syntax.
I'm not actually at my work...
August 3, 2010 at 9:53 am
I'll try an example that you can follow in your SQL window 🙂
First, set your results to text and execute this: -
SELECT TOP 5 t1.[name]
FROM sys.columns t1
INNER JOIN sys.columns...
August 3, 2010 at 9:30 am
Your dynamic SQL is producing what you've told it to produce.
DECLARE @sql AS VARCHAR(MAX)
DECLARE @CostCenterCode VARCHAR (MAX)
SET @CostCenterCode ='123'
PRINT @CostCenterCode
SET @sql ='SELECT FundingCostCenterId ' + 'FROM gtl_srf_funding C ' +
...
August 3, 2010 at 9:07 am
Eugene Elutin (8/3/2010)
Yep, OP's wording was clear enough for me... 😀
:hehe:
Eugene Elutin (8/3/2010)
August 3, 2010 at 8:57 am
Glad I could help.
Seems to be a really common question on here, I think I've answered it 3 times with the CTE so far with the last time having...
August 3, 2010 at 8:34 am
I've not opened your source file to check your incoming data format, but this is how I do it with the flat-files I get sent every month
(DT_DATE)SUBSTRING(date,1,4)) + "-" +...
August 3, 2010 at 8:31 am
Eugene Elutin (8/3/2010)
with corrected setup...
After executing your code, I get: -
ID Org
---------- ----
040677 100
Whilst the OPs requirement was:...
August 3, 2010 at 7:45 am
Viewing 15 posts - 1,801 through 1,815 (of 2,007 total)