Viewing 15 posts - 661 through 675 (of 1,124 total)
Not working this query ...are you sure does it works!?
Actually, something has ate-up my code....:D:D, missed the table in LEFT JOIN....
its wrking used the same query olny retrived distinct records...
January 16, 2009 at 4:08 am
Though the solution provided will give the correct results, but will not perform very well on large amount of rows. You should be careful while using CROSS JOIN as...
January 16, 2009 at 2:46 am
RBarryYoung (1/15/2009)
Ramesh (1/15/2009)
Here is that query
SELECT *
FROM (
...
January 16, 2009 at 2:11 am
Since you are using SQL 2005, you have the windowed functions and the OVER clause....
Here is that query
SELECT *
FROM (
SELECT...
January 15, 2009 at 8:19 am
AndyD (1/15/2009)
First off, thanks very much for investigating! And you are exactly right, specifying
SET TEXTSIZE { number }
within the Step of the Agent Job solves the...
January 15, 2009 at 8:12 am
You have to use the function COALESCE or ISNULL (I prefer using COALESCE)....
SELECT COALESCE( people.last, '') + ',' + COALESCE( people.first, '' ) + ', ' + COALESCE( address.street, ''...
January 15, 2009 at 8:11 am
I've verified your sample and its indeed truncating the result to 512 characters. I think SQL Agent's default TEXTSIZE is 1024, whereas SSMS' default size is 2147483647. So, you...
January 15, 2009 at 7:52 am
It's actually much simple than you are thinking....
here is the simplified version of it...
SELECTEarn.RowID AS EarnRowID, Earn.SalaryHeadName AS EarnSalaryHeadName, Earn.HeadType AS EarnHeadType,
Earn.SalaryAmount AS EarnSalaryAmount, Dedn.RowID AS DednRowID,
Dedn.SalaryHeadName AS DednSalaryHeadName,...
January 15, 2009 at 6:45 am
omlac (1/15/2009)
i thought its possible to group, and return some usefull infromation as well
Indeed, its possible to get aggregates without actually grouping the resultset in SQL 2005 using the...
January 15, 2009 at 3:33 am
Have you selected "Development Tools" in Component Selection?
January 15, 2009 at 3:24 am
Heh... that also means, this is RBAR on steriods....
Actually, I think its not RBAR, as its like merging two resultsets on COLUMNS...so its more like CBAR(Column-By-Agonizing-Row):hehe:
....because you don't have...
January 15, 2009 at 3:17 am
S Hodkinson (1/15/2009)
January 15, 2009 at 2:47 am
Q1:
You can use package configurations to save connection information and get it into variables and use those variables in the connection objects.
Q2:
I am sure there are tools that migrate the...
January 14, 2009 at 7:08 am
What errors are you getting when trying to connect to the server?
January 14, 2009 at 7:02 am
The system variable "MachineName" can give the name of the machine running the package, but I don't know how to get the IP address. May be there is one...
January 14, 2009 at 6:57 am
Viewing 15 posts - 661 through 675 (of 1,124 total)