Viewing 15 posts - 391 through 405 (of 13,429 total)
ok since you are inserting into a table, you do not need the ORDER BY in the end.
You could fiddle with changing it to use EXISTS instead of...
July 11, 2017 at 2:57 pm
July 11, 2017 at 12:58 pm
i would think about slicing the new SAN into three drives; two big ones for the SQL stuff for db and logs, and a new,smaller one for the disk-based packages.
July 11, 2017 at 11:50 am
I've done this with a script task in an SSIS package. it is a good size snippet of code, with lots of caveats.... the end result is exactly what everyone...
July 11, 2017 at 9:43 am
Yes, you'll end up needing bunch of case statements, one for each column.
This could also be done int he presentation layer, so for example SSRS could use an expression...
July 10, 2017 at 5:14 am
With the exceptions of indexes created as part of a primary key or unique constraint, then no. SQL does not save the creation/modify date of indexes. you can get the...
July 9, 2017 at 8:56 pm
this page specifically says, for SQL 2012, no retirement for exams are planned at this time:
http://blog.firebrandtraining.co.uk/2017/01/microsoft-exams-retiring-2017.html
As with SharePoint, we see only the planned retirement...
July 9, 2017 at 8:39 am
you are correct.
SSAS can participate in a Cluster with shared storage, and is Cluster Aware.
but the service does not have the equivalent of Availability groups.
July 7, 2017 at 10:05 am
don't test on production.
best practice is to test on a Development copy of production,s o you have no chance of actually screwing up important data.
never test on production.
July 7, 2017 at 8:40 am
yeah now that we see the actual execution plan, we can see the impact of the nested views; there's a couple of tables like [ins_smr] and [ins_mod] that are joined...
July 5, 2017 at 11:05 am
for me, your expression looks like the problem, but of course it depends on your data.
=IIf(Fields!NotificationType.Value = "Discharge",False,True
that is evaluated each row, right? so potentially some rows toggle...
July 5, 2017 at 9:20 am
I'd look at the indexing and SQL code in the view; it could be using non-Sargable WHERE statements or join criteria, inline scalar functions, or just not have any indexing...
July 5, 2017 at 8:51 am
create a table with the same schema as the table you want to audit.
add additional columns for capturing whodunnit information.
then you just need a trigger to handle update...
July 5, 2017 at 7:13 am
somone already mentioned that the order by , when inserting into a table is an extra cost with no benefit;(a table has no implicit order...you have to use an order...
July 5, 2017 at 6:19 am
here's your data setup with proper data types. your monthYr MUST BE a date datatype in order to get the proper order. you don't want the data to order in...
July 3, 2017 at 7:24 am
Viewing 15 posts - 391 through 405 (of 13,429 total)