Forum Replies Created

Viewing 15 posts - 20,716 through 20,730 (of 26,484 total)

  • RE: Create SQL Instance using SMO and VB.Net

    Larry Rebich (5/27/2009)


    It is done when SQL Server is installed by Visual Studio so it can be done programmaticly.

    Who knows how to use SMO/VB.Net to create an Instance of...

  • RE: Are the posted questions getting worse?

    RBarryYoung (5/27/2009)


    GilaMonster (5/27/2009)


    Lynn Pettis (5/27/2009)


    Florian Reischl (5/27/2009)


    @Lynn:

    Congratulation for 7k points! 🙂

    Thanks! 😉

    Yeah, congrats. Noticed that you were top of the 'most frequent posters' list yesterday.

    Hey, congrats from me too, Lynn!...

  • RE: How to get the start date of the Week

    Imu92(5/27/2009)


    Hi Lynn,

    your date routines are really helpful!

    One question though:

    When I try "set @ThisDate = '20090524'" I get "2009-05-25 00:00:00.000" as Beginning of this week (Monday) which is "strange" - at...

  • RE: Can't figure out the right syntax

    Absolutely NO GUARANTEES on this code. I have nothing to test it against.

    WITH UserGroups (

    group_id

    ) AS (

    select

    group_id

    from

    f_get_groups_user(@user_id)

    )

    SELECT

    ...

  • RE: Stored Procedure taking long to execute

    Nope. No sample data or expected results.

    Please read the first article I have referenced below in my signature block.

  • RE: Are the posted questions getting worse?

    Where are we again? Oh yea,

    44 bottles of beer on the wall, 44 bottles of beer! Take one down, pass it around, 43 bottles of beer on the...

  • RE: Can't figure out the right syntax

    I think part of your problem is the mixing of join syntax. You are using both new and old style joins. First thing I'd do is rewrite the...

  • RE: Stored Procedure taking long to execute

    Can't help fix something if we don't have the code, the DDL for the tables involved, sample data (in a readily consummable format), expected results based on the sample data.

    Please...

  • RE: Are the posted questions getting worse?

    GSquared (5/27/2009)


    Lynn Pettis (5/27/2009)


    Roy Ernest (5/27/2009)


    That is my point, You, Gail, Lynn,Steve and many others have been saying that this is not be done. These are the consequences. But the...

  • RE: Variables to refer to server

    Per Books Online (BOL), which should be your best friend next to SSC, synonyms can only be created for views, tables, functions (CLR and T-SQL), and stored procedures. Can't...

  • RE: How to get the start date of the Week

    Realizing that this behaviour may also change in a future version of SQL Server, but is independent of the DATEFIRST setting, take a look at the date routines here: Some...

  • RE: Variables to refer to server

    prash.dark (5/27/2009)


    I have to use hudreds of select queries. So i can not create Synonyms for every table.

    I tried creating a synonym for database object

    i.e.

    Create...

  • RE: Are the posted questions getting worse?

    Roy Ernest (5/27/2009)


    That is my point, You, Gail, Lynn,Steve and many others have been saying that this is not be done. These are the consequences. But the same person who...

  • RE: Variables to refer to server

    prash.dark (5/27/2009)


    Thansk a lot everyone for reply. i will surely cosider Synonyms. Is there any other option?

    Thanks..

    Regards,

    Prashant Chavan

    Besides using Dynamic SQL as was also suggested, not really. I think...

  • RE: Recent date

    Tara (5/27/2009)


    ok i think i have to use max(date).

    thanks

    You know what, table DDL, sample data (in a readily comsummable format), and expected results based on the sample data would really...

Viewing 15 posts - 20,716 through 20,730 (of 26,484 total)