Viewing 15 posts - 3,871 through 3,885 (of 7,187 total)
prasanta.paul 88490 (8/22/2013)
Am I doing correct?
You tell me. Is it returning the results you expected? If it is, then your requirement has changed, because you said you only...
August 22, 2013 at 2:09 am
Here you go. Obviously it doesn't return any rows for your sample data, but if it did, you could join back to A if you need the student name.
John
SELECT
B.StudentID
FROM
B
JOIN
TblData...
August 22, 2013 at 1:39 am
Join @tblData to TableB, group by StudentID, and return those rows having count(*) equal to the number of rows in @tblData. Without full DDL and sample data, I can't...
August 22, 2013 at 1:27 am
OnlyOneRJ (8/21/2013)
Does this mean their was nothing happened on that day except backup task???
No, it doesn't. It means that backup tasks were the only activity that was written to...
August 21, 2013 at 4:23 am
Only if you had a particular trace flag enabled at the time the deadlocks occurred.
http://www.sqlservercentral.com/articles/deadlocks/74829/%5B/url%5D
John
August 21, 2013 at 3:50 am
If you don't have any monitoring system set up that captures those events, then you can't do it. It may be worth looking in the default trace, but I'm...
August 21, 2013 at 3:33 am
Beware that if you have more than one data file in your database, your query will fail.
John
August 21, 2013 at 1:06 am
I can't find it documented anywhere, and I don't know whether there are any exceptions, but it looks like you need to build your parameter value in advance. Probably...
August 20, 2013 at 3:52 am
Well, you certainly need to lose the first and last quotation marks in the @Directory line. Even then, you might still not be allowed to concatenate in place, so...
August 20, 2013 at 1:45 am
There are utilities that enable you to mount a backup file as a database without actually restoring it. So you could back up your live database, then mount the...
August 20, 2013 at 1:16 am
SQL Server will attempt to resolve all objects except those that it can determine will NEVER be necessary to return results when it parses the query. Otherwise it will attempt...
August 15, 2013 at 8:09 am
DJ
What have you tried already? Have you read the "CAST and CONVERT" topic in Books Online?
John
August 15, 2013 at 4:43 am
Kev
That's curious. Are you sure they were user databases you moved and not system databases? I would expect absence of user database files to lead to the database...
August 15, 2013 at 4:36 am
You have collation differences between your four databases. You need to put a [font="Courier New"]COLLATE collation_name[/font] clause after every column specification that does not have the collation you want...
August 15, 2013 at 4:02 am
Interesting. The explanation ought to cite deferred name resolution as the reason it's possible to create stored procedures referencing non-existent tables. The paragraph from BOL quoted is not...
August 15, 2013 at 3:53 am
Viewing 15 posts - 3,871 through 3,885 (of 7,187 total)