Viewing 15 posts - 691 through 705 (of 1,219 total)
Sorry, I overlooked the edition issue.
What I tried to say is that while you could investigate what is going on with your hardware, you could also consider these INSERT statements....
September 2, 2013 at 2:38 am
OK, if there are no triggers no the tables, we can exclude problems with query plans as such, but problem is related to the mirroring setup.
One way to resolve it...
September 2, 2013 at 1:12 am
dwain.c (9/1/2013)
Just a note that when I did this in SQL 2008 R2 a few months back, it did not include triggers.
Possible I did something wrong.
Tools->Options->Scripting
Here you can control what...
September 2, 2013 at 1:06 am
kapil_kk (9/1/2013)
Will this query works? bcoz we dont have any object_id column in sys.schemas
Oops! That should be schema_id, not object_id.
SELECT quotename(s.name) + '.' + quotename(o.name), o.type
FROM sys.objects o
JOIN...
September 2, 2013 at 1:03 am
Because to install things on Windows, you typically use Windows Installer?
Or what is your question really about?
September 1, 2013 at 3:10 pm
The query returns the data in true megabytes. That is, 1MB = one million bytes.
More to the point, the query counts pages in the buffer cache, and the size of...
September 1, 2013 at 9:24 am
Here is a query that gives the consumption in the buffer cache per database. I hope it is correct, but I welcome if Gail and others can review it.
select db_name(database_id),...
September 1, 2013 at 4:58 am
The reason now that you always get all rows is because you have all conditions in the ON clause. Thus all rows in the left table are retained.
I'm not exactly...
September 1, 2013 at 4:46 am
So this is a difficult situations when the server becomes unavailable during the upgrade. I would go the LOG directory for the instance and look at the ERRORLOG file to...
August 31, 2013 at 4:27 pm
It would help if you included a CREATE TABLE statement for your table, as well as sample XML document. And from that example you could explain a little more closely...
August 31, 2013 at 4:20 pm
I tried to discuss that in my post, but here is a more concise list of the basic scenarios:
1) Restore most recent backup + logs to the same database.
2) Restore...
August 31, 2013 at 12:45 pm
Jeff Moden (8/31/2013)
It produces rounding errors when working with decimal places simply because FLOAT is based on binary math rather than decimal math and it can't actually precisely contain certain...
August 31, 2013 at 12:08 pm
You probably want something like:
IF EXISTS (SELECT *
FROM dbo.TABLE
...
August 31, 2013 at 6:32 am
Some of the scenarios you list are more or less the same. If someone deletes a file from the database, this is more or less the same as if the...
August 31, 2013 at 6:16 am
This is when you use FOR XML PATH(''). A completely obscure syntax for the purpose, but it works.
declare @year int = 2013,
@week int = 27
declare @dte date
select @dte...
August 31, 2013 at 4:56 am
Viewing 15 posts - 691 through 705 (of 1,219 total)