Forum Replies Created

Viewing 15 posts - 41,596 through 41,610 (of 49,562 total)

  • RE: clientprocessid in profiler

    nashreen.mosaheb (1/19/2009)


    But in SQL Profiler 2000, you could filter your query by the client's hostname.. I can't find how to do that with the SQL Server 2005 version(am using this...

  • RE: Need output as 1,2,3,...10

    Jeff Moden (1/18/2009)


    Other than a firedrill on this forum, when have any of you actually had to concatenate data in SQL Server in such a fashion in production?

    Couple times, but...

  • RE: clientprocessid in profiler

    Client process won't give you the machine. It gives you the processid on that machine. For the machine, use the hostname column.

  • RE: VIMP*Backup

    kiransuram19 (1/18/2009)


    The ldf file size is 9.5GB and mdf file allocated size is 4.5 GB( We can assume that data is 15.6 MB in mdf) But when I backup the...

  • RE: Are the posted questions getting worse?

    Jack Corbett (1/18/2009)


    I've got a series on Profiler/Trace in process, building from real basic to a little more advanced (server-side traces, etc...).

    Ah. I was considering writing on server-side...

  • RE: Eliminate Duplicate Records

    Use something like this as the basis for the view.

    SELECT *

    FROM

    (SELECT MAX(OrderNO) as MaxOrder, itemID, UOM FROM SomeTable GROUP BY ItemID, UOM) Qualifying

    INNER JOIN SomeTable...

  • RE: Creating indexed views

    pat (1/18/2009)


    Names must be in two-part format.

    As the error says. 3-part naming is also not allowed. Hence, only objects within the same database.

    Edit: There's a long list of restrictions...

  • RE: Why do people need to do this?

    Garadin (1/18/2009)


    Is that ever the case though? =).

    Maybe. There's more than one company I know where the access control doesn't allow two entrances one after the other. If you swipe...

  • RE: Creating indexed views

    A normal query isn't schema bound.

    A simple view is not schema bound.

    Both of those will run fine when referencing another server.

    The restriction is that you cannot reference a remote...

  • RE: Corrupt Table

    Yeah, true.

    Even so, the only extra checks (afaik) that are added once checkdb with data purity has run successfully are the ones that you turn on by adding the...

  • RE: Creating indexed views

    As the error says, you're not allowed to access a remove server in an object that's created WITH SCHEMABINDING.

  • RE: Deadlock

    MichaelJasson (1/18/2009)


    Do we need to restart the sql service everytime we enable any trace or this is applicable to only some of the traces?

    If you enable the traceflag using DBCC...

  • RE: Why do people need to do this?

    That's actually not that hard, providing it's impossible to have two sequential in's or out's and the first entry is going in.

    Pseudocode:

    SELECT * FROM

    (SELECT *, ROW_NUMBER OVER (PARTITION BY EmployeeID...

  • RE: My problem 'LIKE' Child

    Ok.....

    Since the OrderNo (in event items) is a != in the query, it's absolutely senseless to have it as the leading column. It means that SQL has to do a...

Viewing 15 posts - 41,596 through 41,610 (of 49,562 total)