Forum Replies Created

Viewing 15 posts - 46 through 60 (of 196 total)

  • RE: Update Query

    Great! - Thank you for the feedback.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Programming recurring dates

    skt5000 (2/11/2010)


    I believe this might help you

    declare @date datetime

    set @date = '01/08/2010'

    SELECT DATEPART(day,@date),DATEPART(weekday,@date)

    SELECT CASE

    WHEN DATEPART(weekday,@date) = 2

    ...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: ExecuteReader() question

    You may find this article interesting.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Unpack BIGINT containing three seperate numbers

    allen davidson (2/12/2010)


    Hi

    I'm still struggling, I don't understand how to calculate the divisor to get to the right units. Below is wrong but I cant see why..

    Allen,

    there's nothing wrong...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: horizontal vs vertical table structure

    There's a lot to say and write about this. Which one is best for you largely depends on how you are going to use it. So you may want to...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Delete from a table variable

    You may find this article on dynamic SQL and when (not) to use it interesting.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Delete from a table variable

    Gail certainly has a point there.

    But to answer your question: SQL Server thinks EmployeeID is a column from a table, but you don't tell it which table it shoud come...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Cube Process Error -- Urgent

    Great! Thank you for your feedback.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Calling one Cube Values in other Cube

    Try Linked Measure Groups.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: New to creating packages, trouble "transferring database"

    I assume you are using the Transfer SQL Server Objects Task.

    I was hoping that you could ignore the error by raising the MaximumErrorCount property of the Task, but this...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Cube Process Error -- Urgent

    Maybe this[/url] can be of help.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Can you conditionally determine database to apply script to

    I agree with the suggestions made above.

    The way I solve it goes like this:

    DECLARE @sp_executesql NVARCHAR(150) = QUOTENAME('name of your database goes here') + '.sys.sp_executesql' ;

    I put...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Update Query

    Use a merge statement.

    To get data from the remote server you can use either SSIS or a linked server.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: ssis takes long to run

    Which driver are you using for reading from Oracle and what is the version number of the DB?

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Update Query

    Yep.

    You can also do this, but be aware that you will lose all text entered after the 60th character.

    UPDATE t

    SET NOTES2 = LEFT(s.NOTES1,60)

    FROM ...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

Viewing 15 posts - 46 through 60 (of 196 total)