Viewing 15 posts - 8,206 through 8,220 (of 9,641 total)
Move them as well.
Seriously I am not sure what you are really asking. Do you want to know if you should upgrade from SQL 2000? What you should...
July 29, 2008 at 10:46 am
You can immediately follow your first query with Select @@ROWCOUNT which returns the # of rows returned by the previous statement.
July 29, 2008 at 10:43 am
There is no "SELECT" trigger. You can have triggers on Insert, Update, and Delete. The only way I know of to audit selects is to set up a...
July 29, 2008 at 10:39 am
Attached is a report that uses ADventureWorks and shows how to use the CountRows function. You will need to unzip it and then you can open it in BIDS.
July 29, 2008 at 10:38 am
I assume this will work on a server as it works on my PC. Right-Click on My Computer -> Properties and on mine it says Intel Core 2 CPU.
Remember...
July 29, 2008 at 10:27 am
The reasons you give are why I avoid granting direct table access whenever possible. I typically only grant access to the database through stored procedures as I can control...
July 29, 2008 at 10:19 am
You want to use the CountRows function. If my report is Employees By Department and my group is named department then in the group footer I would use CountRows(Department)...
July 29, 2008 at 10:14 am
There are no indexes created on Foreign Keys by default. Now, odds are you WILL want to have indexes that include foreign key columns. It really depends on...
July 29, 2008 at 10:06 am
You would need to duplicate the filter on the grand total.
Another option may be to create a calculated column in your dataset that does the filtering.
July 29, 2008 at 8:54 am
Executing your final statement will return the value. Now if you are talking about running this in a loop you need a table variable to store the results and...
July 29, 2008 at 8:52 am
You will want to use a derived table in the FROM clause that gets the pertinent information from the episodes table in place of the episodes table. In this...
July 29, 2008 at 8:10 am
Looks good to me. By doing it this way the trace definition remains available and you can run it whenever you need.
You can check the traces that are defined...
July 28, 2008 at 3:13 pm
Can you please explain what you expect for results from the test data you provided?
What is the ultimate goal? Do you want to see balance remaining? I am...
July 28, 2008 at 3:09 pm
In the attached file you have all the margins, except for the top margin set to 0. The top margin is set to 1 inch. Reduce your top...
July 28, 2008 at 2:43 pm
When you open the script you should reset the file location, you can use a file share. You can define the stop time as the 5th parameter to sp_trace_create.
July 28, 2008 at 2:33 pm
Viewing 15 posts - 8,206 through 8,220 (of 9,641 total)