Viewing 15 posts - 31 through 45 (of 66 total)
Vedran Kesegic (3/14/2012)
In your example there is no update that would not succeed.
And there is no command that inserts "ABCD".
First INSERT sets "A",...
March 14, 2012 at 1:15 pm
Snapshots are a really useful feature, but there are some things you should be aware of:
They reduce the write I/O performance of your database as changed database pages get copied...
March 5, 2012 at 6:15 am
Our production SQL Server 2005 instance has 256GB memory - We upgraded our database servers a while ago and went from 64GB to 256GB.
There isn't really anything different to note...
February 28, 2012 at 11:28 am
This is what the schema changes report is running on my system, which you might be able to use as a starting point:
exec sp_executesql @stmt=N'begin try
declare @enable int
select top 1...
February 14, 2012 at 1:21 am
The information is available in the default trace and you can access it via the "Schema Changes History" SSMS report. The information captured is limited and it the trace...
February 13, 2012 at 10:02 am
This is a simple but incorrect solution:
WHEN REPLACE(REPLACE(REPLACE(SRC.Definition,' ',''),CHAR(13),''),CHAR(10),'')
<> REPLACE(REPLACE(REPLACE(Dest.Definition,' ',''),CHAR(13),''),CHAR(10),'') THEN 'Definition Mismatch'
It will remove spaces and new line characters - you might also need to...
February 5, 2012 at 2:47 am
This is a duplicate of this post:
http://www.sqlservercentral.com/Forums/Topic1246826-1550-1.aspx
Shrink file does not cause any data loss. If you specify 1MB, it will shrink only to the smallest possible size. As...
February 5, 2012 at 2:23 am
The shrink file will only be able to remove the unallocated space from your data files - it won't help much here. I'd suggest running an index rebuild on...
February 4, 2012 at 12:24 pm
There are lots of free CMS you can use like DotNetNuke, WordPress etc.
If you want to build your own you might want to look at a WYSIWYG editor like CKEditor,...
February 4, 2012 at 10:12 am
I've never cared much for the new syntax, but you can also use:
SELECT ID,
NAME,
pvt.Home,
pvt.Office
FROM PivotTable
PIVOT(
MAX(PhoneNumber)
FOR [TYPE] IN([Home],[Office])
) AS pvt
February 2, 2012 at 3:08 pm
How about this:
SELECT ID,
NAME,
MAX(CASE WHEN type='Home' THEN PhoneNumber ELSE NULL END) AS [home],
MAX(CASE WHEN type='Office' THEN PhoneNumber ELSE NULL END) AS [Office]
FROM PivotTable
GROUP BY ID,Name
Hope this helps,
David
February 2, 2012 at 3:02 pm
PS
If you have an existing system you are using to track DDL events, it should be easy to import the history into this tool providing you have the original XML...
February 2, 2012 at 1:39 pm
Dev (11/18/2011)
the read to write ratio is normally biased towards reads.
Actually "It depends"
Also, some tables are likely to have high volumes of inserts/updates which could be possible candidates...
November 18, 2011 at 5:57 am
It's worth noting that even in OLTP systems, the read to write ratio is normally biased towards reads. Also, some tables are likely to have high volumes of inserts/updates...
November 18, 2011 at 1:42 am
Evil Kraig F (11/17/2011)
MyDoggieJessie (11/17/2011)
November 17, 2011 at 4:37 pm
Viewing 15 posts - 31 through 45 (of 66 total)