Viewing 15 posts - 181 through 195 (of 443 total)
John,
Yeah I get that.
What I was hoping for was the OP to give us more detail, whether he's using SSRS or a Web Page or whatever to present the...
August 26, 2010 at 5:02 am
John Mitchell-245523 (8/26/2010)
August 26, 2010 at 4:44 am
Hint:
CASE WHEN ROW_NUMBER() OVER(PARTITION BY ledger_name ORDER BY ledger_name) = 1 THEN
finance.tbl_Ledger_Master.ledger_name
ELSE
''
END
August 26, 2010 at 4:07 am
This small change to SwePeso's version will handle values shorter than 13 chars:
CREATE FUNCTION dbo.fn_JulianDateConversion
(
@JulianDate VARCHAR(13)
)
RETURNS DATETIME
AS
BEGIN
...
August 24, 2010 at 5:45 am
Rod at work (8/23/2010)
I don't understand everything you've done in the SELECT statement, Mike01, but it looks like that will work. Thank you!
August 24, 2010 at 5:14 am
A cautionary note.
Take care with the error handling in the solution using sp_getapplock, you could get into an infinte loop.
In most cases the WHILE statement should read:
WHILE @SUCCESS = -1
...
Other...
July 30, 2010 at 3:20 am
Woah! No need for anything that complex, try this:
SELECT CompanyName, x =
(
SELECT
CASE WHEN ROW_NUMBER() OVER(ORDER BY USER_ID) > 1 THEN ',' ELSE '' END + USER_ID FROM...
July 29, 2010 at 5:04 am
Suspect it just needs some parentheses as follows:
AND (TENPER.[TENANT-ORDER] IS NULL
OR TENPER.[TENANT-ORDER] = '1')
July 29, 2010 at 4:42 am
Do you mean you've added new columns to the table definition or just inserted new rows into the table?
If you've just added new rows then you need do nothing. However...
July 29, 2010 at 3:49 am
The procedure name is sp_addextendedproc
July 19, 2010 at 5:04 am
Guys,
In case you hadn't noticed, you're replying to a post that's nearly 2 years old. 🙂
July 7, 2010 at 8:12 am
Here's a slightly more succinct version inspired by code from this article http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/
SELECT t1.col1,
(
SELECT
...
July 6, 2010 at 2:07 am
It's because of rounding, run this:
SELECT CAST (GETDATE() AS numeric), CAST(GETDATE() AS NUMERIC(28,12))
June 25, 2010 at 5:52 am
The http://<server>/Reports URL is the Report Manager with all the nice icons menus etc.
The http://<server>/ReportServer URL is used to access reports directly by URL.
June 22, 2010 at 2:02 am
Viewing 15 posts - 181 through 195 (of 443 total)