Forum Replies Created

Viewing 15 posts - 21,106 through 21,120 (of 22,202 total)

  • RE: Recursive UDF call within a CTE

    A CTE is very local. In fact, it's only available to the SQL query that immediately follows it, although it can be used multiple times within that query. so you...

  • RE: plz help me out in writing a small query

    Posting homework is bad enough. Cross-posting homework is getting a bit over the line. See my response on the other thread.

  • RE: urgent plz help me out in small query

    Clearly, obviously homework. You even posted the question numbers.

    For help of this kind, you have to show what you tried that didn't work rather than have any of us do...

  • RE: Bug in Profiler GUI when viewing .trc file

    Sorry I wasn't clear. We collect both BatchComplete & RPCComplete because, depending on the app, the calls are made in different ways and we want to see both (most are...

  • RE: Data Modelers - Alternatives to Erwin

    Talking about which tool is better can be a pretty slippery slope. I've been using ERStudio for years. I used to use ERWin and the company I'm currently at was...

  • RE: Parameter Value Logging

    The one approach that occurs to me is to use SMO to walk your procedures, identify the parameters, and alter the CATCH statements with an additional insert to a log...

  • RE: Mass insert into Parent to cause mass insert into child table

    What about using the OUTPUT clause. That will capture the generated fields. This script assumes the ID field in the t1 table is

    CREATE TABLE #temptable

    (id INT, val VARCHAR(50))

    INSERT INTO t1

    (val)

    OUTPUT...

  • RE: Bug in Profiler GUI when viewing .trc file

    I'm still not sure you found a bug. I use scripts to capture profiler traces all the time and the two events we capture are RPC complete and Batch complete....

  • RE: Bug in Profiler GUI when viewing .trc file

    The only events you're seeing are Trace Start and Trace Stop. TextData is not available for these events. If you make sure that it generates events, you can see them....

  • RE: Database realtionships

    OK. Well, first, you need to identify logical seperations between the data. Each logical seperation can become a table. Once you establish a table, you have to identify a primary...

  • RE: Database realtionships

    One table has a primary key, column or columns that identifies it uniquely. You can define this in SQL Server as a primary key constraint. A table that this table...

  • RE: Bug in Profiler GUI when viewing .trc file

    If you click on "Show all columns" it doesn't appear way off to the right on the screen? If I turn off TextData for the event, then the column becomes...

  • RE: Bug in Profiler GUI when viewing .trc file

    Go into the Properties to the Events Selection tab and be sure that you've got the TextData column selected for the event you're viewing. I see that you've got Column...

  • RE: Recursion???

    You should post this question in the 2000 forum because you may start getting 2005 solutions to the problem that will not work in 2000. For example, I think I...

  • RE: Copying SQL Server Agent - Jobs

    How about right clicking in SSMS and then selecting "Script Job as" and "Create to" to arrive at a script that completely replicates the job, schedule and all.

Viewing 15 posts - 21,106 through 21,120 (of 22,202 total)