Viewing 15 posts - 1 through 15 (of 283 total)
This what you are looking for?
DECLARE @Today datetime
SELECT @Today = getdate()
SELECT idx,
CASE
--1 or more days
WHEN DATEDIFF(mi,crtDte, @Today) >= 1440 THEN CONVERT(varchar(15), DATEDIFF(mi,crtDte, @Today) / 1440 ) +' days...
A.J.
DBA with an attitude
April 21, 2015 at 3:47 pm
If I am understanding your question properly, you might want to look here:
https://technet.microsoft.com/en-us/library/aa337169(v=sql.100).aspx]
The link discusses how to setup dependent parameters in SSRS.
A.J.
DBA with an attitude
April 21, 2015 at 2:48 pm
I think this might help you...
A.J.
DBA with an attitude
April 3, 2015 at 3:33 pm
CU1 for SQL Server 2012 SP2 is out too.
http://support.microsoft.com/kb/2976982
A.J.
DBA with an attitude
July 28, 2014 at 2:40 pm
October 15, 2013 at 10:57 am
Before you start installing SP1, you should read this:
A.J.
DBA with an attitude
December 20, 2012 at 2:22 pm
You may want to be aware of this major problem in SP1.
A.J.
DBA with an attitude
December 20, 2012 at 2:20 pm
Generally speaking I have found in the past that OPENXML is faster if you need all the XML. XQuery is faster when searching for a value within the XML...
A.J.
DBA with an attitude
September 27, 2012 at 2:58 pm
The biggest disadvantage in my opinion is the data in the DMVs is reset upon SQL restart. So if you are trying to do trending type of reports, you'll...
A.J.
DBA with an attitude
July 25, 2012 at 9:53 am
The answer to this depends on many factors.
1. What are your bottlenecks now? Memory? CPU? Blocking? Other?
2. What's your budget?
3. How much control...
A.J.
DBA with an attitude
July 25, 2012 at 9:51 am
Without more detail it's hard to say, but if I had to guess... Is there a query with a sub-optimal execution plan against a table that is either growing...
A.J.
DBA with an attitude
July 25, 2012 at 9:45 am
Could you post an exact copy of the error?
A.J.
DBA with an attitude
July 25, 2012 at 9:39 am
nagkarjun1 (7/24/2012)
Backup AW2012 production database on AWPServer
Lookup BACKUP DATABASE in books online and then execute a BACKUP command
nagkarjun1 (7/24/2012)
copy to AWTServer test database server
Copy / Paste .bak file
nagkarjun1 (7/24/2012)
A.J.
DBA with an attitude
July 24, 2012 at 1:56 pm
In VS go to the menu -- Tools >> Options >> Database Tools >> Transact-SQL Editor >> Query Execution >> ANSI
Here you will find the SET QUOTED_IDENTIFIER option...
A.J.
DBA with an attitude
July 24, 2012 at 1:45 pm
One way would be to hi the sys.partitions table. Here's an example of a query that returns row counts for every table in the msdb database. You could...
A.J.
DBA with an attitude
July 19, 2011 at 7:28 am
Viewing 15 posts - 1 through 15 (of 283 total)