Viewing 15 posts - 181 through 195 (of 1,065 total)
You are seeing exactly what I would expect. The JOIN and WHERE clauses are different parts of the query, and the JOIN is logically evaluated before the WHERE.
In a left...
March 4, 2011 at 7:51 am
Jeff Moden (3/3/2011)
I wonder how many DBAs subscribe to the idea that it's ok to lose data on a production system.
I don't think any REAL DBA (i.e those who chose...
March 4, 2011 at 7:09 am
Brandie Tarvin (3/4/2011)
I couldn't help myself. I posted a comment on Alok's blog:
I can't see your blog comment Brandie, but look at the other articles in his blog... virtually every...
March 4, 2011 at 5:55 am
Is it your own job that is being found and therefore generating the email, which obviously isn't running when you execute it from SSMS?
March 4, 2011 at 5:04 am
Your strange/inconsistent results may be down to the fact that your IF statement had the incorrect OR in the where clause, but inside the body of the IF statement, you...
March 4, 2011 at 4:36 am
If think you've made the classic mistake with NOTs and ORs:-
set @results = (select count(*) from jobinfo
where [name] not like '%hbu%' OR [name] not like '%populate%')
should probably be
set...
March 4, 2011 at 4:17 am
I can't point you at anything that confirms what you are witnessing, but I can understand it (sort of).
When a transaction is written to the transaction log, it is either...
March 4, 2011 at 1:08 am
Use the system stored procedure sp_rename...
sp_rename 'old name', 'new name'
March 3, 2011 at 5:47 am
I think you need to provide a bit more of an explanation...
For example, why should 2.5 come after 4.1.2
March 3, 2011 at 1:20 am
If there is no network connection between the Server and the Local machine, then how are you going to move anything from the Server to the Local machine?
March 3, 2011 at 12:51 am
If you are running the whole script from the server, then this is the bit you need to change:-
select
@FileName = 'C:\Temp\SampleXMLOutput1.xml'
It needs to refer to the...
March 2, 2011 at 7:49 am
David... one of the replies in your link certainly indicates that the same issue exists in SQL2005.
It would appear that all Microsoft have done is to make the catching of...
February 25, 2011 at 6:53 am
The difference is the way this statement works:-
set @A=@A+@rev
When it is declared as a CHAR, it is a fixed 50 bytes, so you are trying to put 50 bytes +...
February 25, 2011 at 3:09 am
Just Google "clustering sql server" and you'll find a ton of good links.
The first one on my Google list was An Introduction to SQL Server Clustering by Brad McGehee
February 25, 2011 at 1:50 am
You said that you had removed FK constraints... was this on the publisher or subscriber? If you only removed them from the publisher, then you could be suffering from the...
February 25, 2011 at 1:31 am
Viewing 15 posts - 181 through 195 (of 1,065 total)