Viewing 15 posts - 1,036 through 1,050 (of 9,643 total)
The example makes what you need much clearer. Neither my nor David's code does exactly what you are looking for. I believe that this is what you want...
May 6, 2014 at 11:18 am
Unique values in sys.partitions are defined by object_id, index_id, partition_number. There is at least one row in sys.partitions for each table and index on the table.
May 6, 2014 at 10:42 am
I'd ask:
If you have orders and order items and the purchase price is stored only on the order item how would you generate a Total Order Amount?
I'd be looking for...
May 6, 2014 at 10:36 am
You can add a second group on Department within the Store group so your report would look something like this:
Store|sum of hours|sum of dollars
...
May 6, 2014 at 10:31 am
Sean Lange (5/6/2014)
pgmoschetti (5/6/2014)
May 6, 2014 at 10:27 am
I think you might want something like this:
DECLARE @orders TABLE
(
OrderNo INT,
ReceiptDate DATE
);
SELECT
...
May 6, 2014 at 10:19 am
The first thing I"d be concerned with is if you are executing the query in the right database. There is this parameter (from BOL):
[ @execute_query_database= ] 'execute_query_database'
Is the database...
May 6, 2014 at 10:14 am
Mark,
I did some asking around and it looks like you should contact CSS to get an answer as they may need a mini-dump of the SQL Server process.
May 5, 2014 at 12:42 pm
Looks like this could be a bug. Check out this post for a possible workaround.
May 5, 2014 at 11:52 am
What SQL Server version and Service Pack is the server?
What SQL Server version and Service Pack of SSMS are you using?
Have you tried installing the latest...
May 5, 2014 at 11:42 am
You have to keep in mind that this value is an accumulation since the last server restart, so if your server has been up for months a wait time in...
May 5, 2014 at 11:32 am
Something like this should work:
=CSTR(CINT(Fields!FiscalYear.Value) - 3) + " Meal Count"
May 5, 2014 at 11:23 am
Since Windows is presenting these errors I'd look to get my SQL Files off that drive and then run CHECKDB against all the databases that were there. I'd also...
May 5, 2014 at 11:19 am
a4apple (5/2/2014)
Jack Corbett (5/2/2014)
May 2, 2014 at 12:53 pm
Okay. Like I said, that was a guess based on the name. I'm not surprised I guessed wrong.
I just thought of something else. The connection settings can...
May 2, 2014 at 12:43 pm
Viewing 15 posts - 1,036 through 1,050 (of 9,643 total)