Forum Replies Created

Viewing 15 posts - 1,096 through 1,110 (of 1,183 total)

  • RE: VBSCript Connection string 2005 64 Bit

    For future reference, the site below has it all!!

    http://www.connectionstrings.com

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: formatting datetime

    select

    right('0' + cast(datepart(month,a.datehired) as char(2)), 2)

    + '/'

    + right('0' + cast(datepart(day,a.datehired) as char(2)), 2)

    ...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Data Driven Subscriptions

    Here is a revised version that works much more efficiently, and addresses various issues with the original version.

    ---------------------------------------------------------------------------------------------------

    USE [ReportServer]

    GO

    /****** Object: StoredProcedure [dbo].[js_data_driven_subscription] Script Date: 09/29/2006 18:10:40...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Cursors, cursors, CURSES!!!!

    If you can post the code tomorrow, it will be much easier to look into. But you knew that 🙂

    ~I just posted this reply so that I would get an...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Paging in Reporting Services

    Give your textbox this value ...

    ="Page " & Globals!PageNumber & " of " & Globals!TotalPages

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: CASE statement with a NOT IN condition

    What about

    , SUM( CASE r.packagetransmethodid WHEN 9 THEN ShipmentQty ELSE 0 END) as "Others"

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: 1 report several databases - What is the best method?

    Also, if you need appostrophies in your query, you'll need to replace then with ' + char(39) + '

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: 1 report several databases - What is the best method?

    Use a parameter to hold the Database name and Use EXEC sp_executesql ...

    Make your data source as follows....


    DECLARE @strSQL nvarchar(1000)

    SELECT @strSQL = 'select * from ' + @dataSource + '.dbo.yourQuery...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Need Help Passing Parameter in CTE Recurrsive Query

    Can you post the query you've written?

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: dynamic headers?

    You can not refer to fields in the Header and Footer, however a work around is to use a textbox or field in a table/matrix to hold the value for...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Dynamically Force a page break on column (n) of a Matrix?

    That's what I thought, but I had to ask.....

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Display Text VERTICALLY ?

    I'll go hide in my corner now.....

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Unwanted Cascading Parameter Effect...

    This is only a work around, but you could create a "dummy" parameter that isn't used in any of your queries and don't give it a default value.

    I haven't tried...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Data Driven Subscriptions without SQL Enterprise

    Thanks Andy. I guess I hadn't thought of that as I developed this to solve an in house need and that wasn't somethingI have to deal with. but that is...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Data Driven Subscriptions without SQL Enterprise

    I've been meaning to post this for quite a while, but here's an updated procedure that works much better....

     

    if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[data_driven_subscription]') and OBJECTPROPERTY(id, N'IsProcedure')...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg

Viewing 15 posts - 1,096 through 1,110 (of 1,183 total)