Viewing 15 posts - 21,106 through 21,120 (of 22,202 total)
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...
February 1, 2008 at 9:25 am
Posting homework is bad enough. Cross-posting homework is getting a bit over the line. See my response on the other thread.
February 1, 2008 at 9:22 am
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...
February 1, 2008 at 9:21 am
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...
February 1, 2008 at 9:17 am
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...
February 1, 2008 at 7:57 am
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...
February 1, 2008 at 7:48 am
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...
February 1, 2008 at 7:41 am
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....
February 1, 2008 at 6:10 am
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....
January 31, 2008 at 10:56 am
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...
January 31, 2008 at 8:30 am
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...
January 31, 2008 at 8:16 am
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...
January 31, 2008 at 6:42 am
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...
January 31, 2008 at 5:34 am
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...
January 31, 2008 at 5:29 am
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.
January 30, 2008 at 10:48 am
Viewing 15 posts - 21,106 through 21,120 (of 22,202 total)