Viewing 15 posts - 661 through 675 (of 5,394 total)
Not for me. Everything works as expected.
Which version are you on?
March 31, 2015 at 3:42 am
Please post the results of DBCC CHECKDB.
Don't repair!!!
You could damage your database and lose data.
If you're not sure what to do, wait for a reply here before taking action.
March 31, 2015 at 2:30 am
Sorry, but I don't see what's wrong. Everything works fine for me.
Can you please clarify what you're getting?
March 31, 2015 at 2:28 am
There's an add-in for SSMS that will script out grid results to an excel file in a couple of cliks. You can find it here: http://www.ssmsboost.com
March 31, 2015 at 1:36 am
It looks like dbo.region_scorecard is a table or a view.
In that case, you need to provide a predicate to correlate the table dbo.current_year with it:
SELECT ISNULL(dbo.merica.Country, dbo.current_year.[Mega Region]) AS TEST
FROM...
March 31, 2015 at 1:29 am
Duplicate post: http://www.sqlservercentral.com/Forums/FindPost1672886.aspx
In SQL Server 2012 you can query a DMV that was absent in 2008 to discover tcp ports:
SELECT *
FROM sys.dm_tcp_listener_states
March 31, 2015 at 1:21 am
IPAll sets the port for all IP addresses.
Another method to discover TCP ports is by using netstat:
netstat -abno
You should have some rows returned for sqlservr.exe: note down the PID and...
March 31, 2015 at 1:19 am
It really depends what you're after. If you want files in a folder every x minutes, you can use a powershell job.
March 30, 2015 at 8:31 am
You need a splitter function: http://www.sqlservercentral.com/articles/Tally+Table/72993/
March 30, 2015 at 7:46 am
Let's see if I can rephrase your question:
Question:
I have a table named "sites" with the following definition:
CREATE TABLE sites (
id int PRIMARY KEY,
...
March 30, 2015 at 6:40 am
You probably have a "sites" table. If the row is not there, it must have been deleted or it has never been there. If you have a "deleted" attribute on...
March 30, 2015 at 4:44 am
With snapshot isolation you mean exactly snapshot isolation or read committed snapshot?
How are you maintaining your indexes? A maintenance plan, a custom stored procedure/job or what?
March 30, 2015 at 4:41 am
SteveEClarke (3/30/2015)
Hi All,Should I create the view as XML format - or should I use a stored procedure to drop the output out as XML via BCP ?
The latter seems...
March 30, 2015 at 4:39 am
You need to give an alias to the whole XML document you're selecting:
SELECT 'A'
FOR XML PATH('')
outputs this:
XML_F52E2B61-18A1-11d1-B105-00805F49916B
-----------------------------------------
A
(1 row(s) affected)
With an alias you get this:
SELECT theDoc = (
SELECT 'A'
FOR...
March 30, 2015 at 4:37 am
GilaMonster (3/25/2015)
spaghettidba (3/25/2015)
The accusation "man = male chauvinist" is very common, that's why everybody wants to say they're not like that.
Annoyingly so, along with the growing accusation "feminist = man...
March 26, 2015 at 3:17 am
Viewing 15 posts - 661 through 675 (of 5,394 total)