Viewing 15 posts - 721 through 735 (of 1,229 total)
You can also try getting the default value directly from the result of a dataset query. This is a fully dynamic way to get what you want :
SELECTDATEADD(d, -1,
DATEADD(q,DATEPART(q,getdate())-1,CAST(year(getdate()) AS...
May 11, 2015 at 12:01 am
Again, it is doing a clustered index scan (also known as a table scan) instead of using the nonclustered index you created on C6 (with no included columns) because the...
May 8, 2015 at 6:11 pm
Try DBCC OPENTRAN to view any open transaction the machine you are currently connected to.
May 8, 2015 at 6:03 pm
New Born DBA (5/8/2015)
J Livingston SQL (5/8/2015)
New Born DBA (5/6/2015)
May 8, 2015 at 1:13 pm
Lynn Pettis (5/8/2015)
MMartin1 (5/8/2015)
New Born DBA (5/7/2015)
Lynn Pettis (5/7/2015)
New Born DBA (5/7/2015)
Sorry, but I actually spit soda out my nose on this comment:
Well I hope you are OK. 😀
It isn't...
May 8, 2015 at 1:08 pm
Eric M Russell (5/8/2015)
marcia.j.wilson (5/7/2015)
Eric M Russell (2/10/2012)
May 8, 2015 at 1:02 pm
New Born DBA (5/7/2015)
Lynn Pettis (5/7/2015)
New Born DBA (5/7/2015)
Sorry, but I actually spit soda out my nose on this comment:
Well I hope you are OK. 😀
It isn't a system field,...
May 8, 2015 at 12:35 am
neeraj-344433 (5/6/2015)
Hi all,Thanks for your valuable inputs, I was able to fix the performance of the select query using Vertical partitioning.
Thanks again!
For the rest of us who would like more...
May 8, 2015 at 12:06 am
mohanraj.jsp (5/6/2015)
If you open the vs 2008 and add existing item also...
May 7, 2015 at 11:13 pm
marcia.j.wilson (5/7/2015)
Eric M Russell (2/10/2012)
May 7, 2015 at 2:25 pm
I assume the tables are used directly instead of a view. Later, you could possibly add a view that combines date and time columns as one value. Any future uses...
May 6, 2015 at 1:43 pm
I wouldn't mind having some sample data to determine if the original primary key actually made sense. As Jeff mentioned a temporal based partition means having some sort of...
April 30, 2015 at 12:40 am
I am wondering if the "#TEMPTABLE" you mention is created inside your code, in which this would fall into the realm of a stored procedure. For a simple lookup as...
April 30, 2015 at 12:23 am
I realise this has been answered but I did note in your example under options you list what appears to be the result of a triangular join.
I produced exactly those...
April 29, 2015 at 11:56 pm
It seems we are not aware what version of SQL Server is at play here. Thus the error messages some have encountered. Also no images are in the zip file,...
April 23, 2015 at 11:48 am
Viewing 15 posts - 721 through 735 (of 1,229 total)