Viewing 15 posts - 526 through 540 (of 860 total)
hxkresl (4/17/2012)
Msg 207, Level 16, State 1, Line 32
Invalid column name 'Portfolio'.
WITH Maxticket AS (SELECT AD.ID, AD.OrgName,
...
April 17, 2012 at 1:21 pm
ok so we put the renaming of the column into the first CTE as follows:
WITH Maxticket AS (SELECT AD.ID, AD.OrgName,
...
April 17, 2012 at 11:33 am
Lynn Pettis (4/17/2012)
hbtkp (4/17/2012)
i hv another prov
i have delcare variable
declare @abd datetime
now i need to get 1 date from function
like
select @abd = fromdate...
April 17, 2012 at 11:18 am
zojan (4/17/2012)
You can lo step (which is executed), Getdate(),...
you can add sp_name column to log more...
April 17, 2012 at 8:26 am
hxkresl (4/16/2012)
I have one last thing to do.
The report must have one additional level to it's hierarchy that doesn't even exist in the...
April 17, 2012 at 7:09 am
Cadavre (4/17/2012)
SELECT DATEADD(DD,N,GETDATE())
FROM (SELECT N
FROM (VALUES(0),(10),(20),(30),(40),(50),(60),
...
April 17, 2012 at 6:43 am
i have always used SELECT 'String you want to display here' and not had a problem with multiple outputs in a stored procedure.
April 16, 2012 at 7:14 pm
i got it to work by using the following:
WITH fechas (fecha) AS (
SELECT GETDATE() AS fecha UNION ALL
SELECT DATEADD(day,10, fecha) from fechas )
select TOP 12 fecha from fechas -- instead...
April 16, 2012 at 7:12 pm
it would be adding a variation of your case statement you have in the cte to the final query, not using another cte. i can post the answer in...
April 16, 2012 at 7:07 pm
jitendra.padhiyar (4/16/2012)
Hi Hector,Is import/Export good solution?
I mean we will first export db to excel file and than copy that excel file to remote server where we can import that db.
Thanks,
i...
April 16, 2012 at 4:05 pm
it has been discussed before but in case its hidden some where.
depending on how mission critical the box is we install patches the next time we have to reboot after...
April 16, 2012 at 3:56 pm
i hate to be the bearer of bad news but because its AT&T you have to live with the quirks. AT&T does this with every email (as far as...
April 16, 2012 at 3:51 pm
see the original thread i have posted an answer there.
April 16, 2012 at 3:41 pm
; WITH Maxticket AS (SELECT AD.ID, AD.OrgName, AD.ProjName, AD.Ticket#, ROW_NUMBER() OVER (PARTITION BY AD.Ticket# ORDER BY Revision_num DESC) AS revision
...
April 16, 2012 at 3:40 pm
Ray K (4/16/2012)
Revenant (4/14/2012)
capn.hector (4/13/2012)
SQLRNNR (4/13/2012)
TROLLurgal
Xbox
360
degrees
April 16, 2012 at 3:20 pm
Viewing 15 posts - 526 through 540 (of 860 total)