Forum Replies Created

Viewing 5 posts - 16 through 21 (of 21 total)

  • RE: Table Size

    To view the taskpad in EM, right click on a database, select view... taskpad.


    Cheers,

    Kevin

  • RE: SELECT QUERY - Multiple AND / OR ?

    Use brackets in your where clause.

    ...

    WHERE

    (

    tblProfile.Education = 'Some College'

    OR tblProfile.Education = 'Associates Degree'

    )

    AND tblProfile.MemberIDpr = tblUsers.MemberID

    ...


    Cheers,

    Kevin

  • RE: Logging Database Activitity?

    Have a look at this article...

    http://www.sqlservercentral.com/columnists/hji/trace.asp

    I have found it invaluable in identifying databases which are rarely used.


    Cheers,

    Kevin

  • RE: EXISTS (SELECT * or SELECT 1) ?

    Good question, I have also wondered about this.

    I've always tried to avoid the use of "Select *" in any database queries. It's better to explicitly define what columns are...


    Cheers,

    Kevin

  • RE: SET vs SELECT

    Chief, I agree. My first line in ALL my stored procedures is always SET NOCOUNT ON.

    Nice tip on concatination Antares686/rmarda.

    I prefer SET over SELECT. Basically an aesthetic choice.


    Cheers,

    Kevin

Viewing 5 posts - 16 through 21 (of 21 total)