Forum Replies Created

Viewing 15 posts - 286 through 300 (of 2,647 total)

  • RE: Odd table format

    PGarberick (8/16/2012)


    I don't know quite what the cross-out stuff was about but it did give me an idea as to what happened. Next time I will be more specific...

  • RE: sql logics1

    Lynn Pettis (8/16/2012)


    asranantha (8/16/2012)


    why isbbelle gets erroe

    and williams inserts 2 rows +julianna insert 12 rows are not lodead in in toy table how u say thatone

    Because Isabelle can't commit the...

  • RE: sql logics1

    1- William logs into the database

    2- Julianna logs into the database

    3- William sees 12 rows in the TOYS table

    How does he "see" 12 rows? SELECT TOP 12? SELECT *?...

  • RE: Odd table format

    Oh...

  • RE: Odd table format

    EDITED

  • RE: sql logics1

    Second question... What does Isabelle see when she runs a commit? :w00t:

    Also, the question is incomplete. Like asking how many car lengths are between me and that tree over...

  • RE: Find Usage of Column in Related Views

    david.holley (8/16/2012)


    OK, well now I'm a fan for SQLSearch by Redgate.

    It is quite a nice product, huh?

  • RE: Using REPLACE with a string where I need to replace %anystring% with some new string

    Jeff Moden (8/15/2012)


    SQLKnowItAll (8/15/2012)


    Jeff Moden (8/15/2012)


    SQLKnowItAll (8/15/2012)


    Jeff Moden (8/14/2012)


    SQLKnowItAll (8/14/2012)


    The actual execution plans are exactly the same for each and IO is the same. Interestingly enough... Every time I...

  • RE: Using REPLACE with a string where I need to replace %anystring% with some new string

    Jeff Moden (8/15/2012)


    SQLKnowItAll (8/15/2012)


    Jeff Moden (8/14/2012)


    SQLKnowItAll (8/14/2012)


    The actual execution plans are exactly the same for each and IO is the same. Interestingly enough... Every time I run this, the...

  • RE: Find Usage of Column in Related Views

    And this?

    SELECT DISTINCT so.name

    FROM sys.objects SO (NOLOCK)

    INNER JOIN sys.sql_modules SC (NOLOCK) on SO.object_Id = SC.object_id

    AND SO.Type = 'V'--P for stored procs

    AND SC.definition LIKE '%textSearch%'

    ORDER BY SO.Name

  • RE: Find Usage of Column in Related Views

    What about this? I think without schema_binding on the view, you have to search the view definition...

    USE databaseName

    GO

    SELECT Distinct SO.Name

    FROM sys.sysobjects SO (NOLOCK)

    INNER JOIN sys.syscomments SC (NOLOCK) on SO.Id...

  • RE: Find Usage of Column in Related Views

    Lowell (8/15/2012)


    there sure is:

    this example will give you all columns that have a certain name;

    if you want to specifically limit it to a specific table also, simply uncomment out the...

  • RE: Find Usage of Column in Related Views

    I use this, but syscomments is not the best place anymore. I'm sure someone will respond with the new dmv for this.

    SELECT *

    FROM sys.objects SO (NOLOCK)

    INNER JOIN syscomments SC...

  • RE: How to copy all objects from one server to another server?

    If you want the objects without data, use the right-click -> Generate Scripts option on the database.

  • RE: Case statement within a window function

    Luis Cazares (8/15/2012)


    Jared,

    The order should be determined by UnitsInStock for each CategoryID, unless there is a zero for any value in UnitsInStock for that particular CategoryID, the order should...

Viewing 15 posts - 286 through 300 (of 2,647 total)