Forum Replies Created

Viewing 15 posts - 211 through 225 (of 363 total)

  • RE: performance issue with a query

    OK, rewriting your query, just so we can break apart some items...

    is there the same performance diff. using the following query with/without firstname?

    SELECT AL2and3.vch_shortname, AL2and3.i_event_id, AL1.i_users_id, AL1.vch_lastname, AL1.vch_firstname...



    Once you understand the BITs, all the pieces come together

  • RE: performance issue with a query

    SELECT AL2.vch_shortname, AL3.i_event_id, AL1.i_users_id, AL1.vch_lastname, AL1.vch_firstname

    FROM dbo.users AL1

    JOIN dbo.event_user AL4 ON AL4.i_users_id = AL1.i_users_id

    JOIN dbo.event AL3  ON AL3.i_event_id = AL4.i_event_id

    JOIN dbo.course AL2  ON AL2.vch_course_id = AL3.vch_course_id ...



    Once you understand the BITs, all the pieces come together

  • RE: Boolean Value in MS SQL Server.

    Yeh Noel, I hear ya. Just wanted to maybe give you some "ammo" or thoughts that might help.

    Is the statement hard coded into...



    Once you understand the BITs, all the pieces come together

  • RE: Final value of an integer column

    Are you talking about when the identity value reaches the max value of the data type?

    or will SQL functions like @@IDENTITY, IDENT_CURRENT() or SCOPE_IDENTITY( ) be of help.

     



    Once you understand the BITs, all the pieces come together

  • RE: Store last X Days parameter in user profile

    2 WEEKS VACATION all at one time! Must be nice



    Once you understand the BITs, all the pieces come together

  • RE: Boolean Value in MS SQL Server.

    I've been following this thread... was thinking maybe some form of the following may be usable...

    -- In T-SQL

    Create Table TestTable (ID Int, TestF Bit)

    -- Then change:

    --   Insert...



    Once you understand the BITs, all the pieces come together

  • RE: Start Agent Job on another Server

    Yeh, sorry, that's my own build in SP, does some intermediate logging work etc.

    Glad the "jist" of the idea worked for you.



    Once you understand the BITs, all the pieces come together

  • RE: Last Post time offset

    It only makes me work 2 extra hours each day, It must drive Frank nuts , He's putting in an extra 8 hrs of...



    Once you understand the BITs, all the pieces come together

  • RE: test problem

    In regards to

    SELECT @type EXEC(@cmd) actually worked!  The print @type statement printed P but the tests did not work.

    "SELECT @type" should return a one column record set with NULL
    then
    "EXEC...



    Once you understand the BITs, all the pieces come together

  • RE: Start Agent Job on another Server

    If you have a link server entry, you can try something like...

    LinkedServer.Master.dbo.sp_ExecuteSQL N'Exec SyJobExecute_sp ''JobName'', 0'



    Once you understand the BITs, all the pieces come together

  • RE: Topic of the Day opinion posts into a forum of its own

    On SQL Server Centrals home page.

    Todays is "Indexing Strategies". I guess they call them "Headlines", my bad



    Once you understand the BITs, all the pieces come together

  • RE: Banner turned off on post page

    I definitly happens when going to the page pointed to by the emailed "Reply Notifications" & "Active Posts" page.

     



    Once you understand the BITs, all the pieces come together

  • RE: test problem

    The following line in your code

       SELECT @type EXEC(@cmd)

    is actually 2 commands, not 1 command that assigns a value to @type.

     

    Try changing to something like ....

    .....

    --test input against type

    SELECT...



    Once you understand the BITs, all the pieces come together

  • RE: How to get result in dynamically created SQL execution?

    See prior recent thread...

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=93526#bm93703

    I hope the address paste works ok, I used the new forum search with "sp_executesql" key word, and T-SQL as only section to search. Worked great...



    Once you understand the BITs, all the pieces come together

  • RE: No email of posts any longer

    Any update on the forum subscriptions yet?



    Once you understand the BITs, all the pieces come together

Viewing 15 posts - 211 through 225 (of 363 total)