Viewing 15 posts - 946 through 960 (of 8,416 total)
These are the only two I can find (2008-2012):
SELECT *
FROM sys.dm_os_performance_counters AS dopc
WHERE dopc.object_name LIKE N'%:Deprecated Features%'
AND dopc.instance_name LIKE N'%part%';
Perhaps you were thinking of the 'more than two-part name'...
January 26, 2012 at 11:00 pm
Can you script a repro? This works fine for me:
DECLARE @schema xml =
N'<?xml version = "1.0"?>
<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
...
January 26, 2012 at 10:47 pm
I dislike questions that make a parser/syntax checker out of the reader, especially where there is little in the way of learning value.
It is sad the 'correct' answer includes reverse...
January 26, 2012 at 9:58 pm
Chrissy321 (1/25/2012)
How can I alter this convert statement to return 1/25/2012 rather than 01/25/2012.Or return 1/1/2012 rather than 01/01/2012
SELECT CONVERT(varchar(10),getdate(),101)
Although formatting is generally best done elsewhere, SQL Server 2012 introduces...
January 26, 2012 at 9:34 pm
A third:
SELECT e.*
FROM dbo.employee AS e
JOIN
(
SELECT e2.ssn
FROM dbo.employee AS e2
GROUP BY
...
January 26, 2012 at 8:34 pm
Another one:
SELECT *
FROM dbo.employee AS e
WHERE EXISTS
(
SELECT 1
FROM dbo.employee AS e2
WHERE
...
January 26, 2012 at 8:32 pm
There are a couple of ways to do this, here's one:
SELECT * FROM
(
SELECT
*,
...
January 26, 2012 at 8:19 pm
Alexander Suprun (1/26/2012)
January 26, 2012 at 7:57 pm
Jason Selburg (1/26/2012)
I must admit, I only just now "re-found" the Subscribe To Topic under Topic Options. Man it's been a long year. 🙂
Well that's new to me, thanks :smooooth:
January 26, 2012 at 5:41 pm
SSMS includes a basic Database Diagrams feature (look in Object Explorer under the database name). Commercial products from companies like RedGate and ApexSQL contain much more powerful tools.
January 26, 2012 at 5:39 pm
This demonstrates one technique:
CREATE TABLE #Example
(
BrandId integer NOT NULL,
ProductId integer NOT NULL,
Popularity...
January 26, 2012 at 5:36 pm
MidBar has it, just need to add DESC to the 'order by APPRVLDTE'.
edit: now done.
January 26, 2012 at 5:14 pm
This shows the general formula:
DECLARE @Year smallint = 1901;
SELECT CHAR(((@Year - 1901) % 26) + 65);
January 26, 2012 at 5:09 pm
1994 Toyota Corolla station wagon, 300 mega-metres, solid as.
January 26, 2012 at 3:59 pm
ChrisM@home (1/26/2012)
January 26, 2012 at 2:48 pm
Viewing 15 posts - 946 through 960 (of 8,416 total)