﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Few tricky Questions about SQL Server 2008 that I came across... / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 15:08:07 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>Got it! Thanks Gila Monster.Thanks and RegardsDK :-)</description><pubDate>Wed, 20 Mar 2013 22:48:25 GMT</pubDate><dc:creator>beginner_dk</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]beginner_dk (3/19/2013)[/b][hr]Regarding sorting order, i went through the BOL over clause and tested on a table created my self and it worked. so i thought it might be true. [/quote]"It worked for me once" != "It's guaranteed to work". No order by, no guarantee of order, end of story.Now, a simple query like that will probably come back in the correct order, but that's a side effect of how the query execution engine works, not a guaranteed behaviour[quote]Coming to full text indexes there is a book [i] "Mastering SQL Server 2008  By Michael Lee, Gentry Bieker"[/i] on page 626, chapter 21, second para of the new alter feature box, it is stated that  [i]FTI's are backed up with every SQL Server Back up processes because they are included in the standard catalog [/i] so again with minimal knowledge about it, i assumed it to be true[/quote]. It is true, but that quote in no way implies that prior to SQL 2008 FTIs were not backed up with the database because they're not included in the database.</description><pubDate>Wed, 20 Mar 2013 01:46:52 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>Hi GilaMonster,Thanks a lot for taking time to review them. The test says if you don't find correct answer in the given options, guess /choose the one which is more near to the correct answer and i was trying to do that. so it might help me if i had to take the test again.I went through few BOL topics (Transaction Log Truncation, Over Clause, Create Login, etc) and books to find these answers and thought they might be an option near to right one. Regarding sorting order, i went through the BOL over clause and tested on a table created my self and it worked. so i thought it might be true. Coming to full text indexes there is a book [i] "Mastering SQL Server 2008  By Michael Lee, Gentry Bieker"[/i] on page 626, chapter 21, second para of the new alter feature box, it is stated that  [i]FTI's are backed up with every SQL Server Back up processes because they are included in the standard catalog [/i] so again with minimal knowledge about it, i assumed it to be true. your help is greatly appreciated and thanks for your tip  [i]Don't confuse 'will usually work the way you want' with 'is guaranteed to work the way you want'.[/i], will keep it in mindThanks and RegardsDK</description><pubDate>Tue, 19 Mar 2013 18:40:03 GMT</pubDate><dc:creator>beginner_dk</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]beginner_dk (3/18/2013)[/b][hr]A: I guess C is a possible answer as the transactions logs are automatically truncated with back up [/quote]No they're not.[quote]A: I am guessing B as the answer as "a link between tables"  can also be a FK (FOREIGN KEY) and UC are used for FK's[/quote]They can be, but they're not required (either of the other 2 unique-guaranteeing structures is fine too). Still, a UQ does not in any way provide a link between tables, so no, B is wrong too.[quote]A: B as it is not mandatory to specify the partition by in over clauseIf PARTITION BY is not specified, the function treats all rows of the query result set as a single group. [/quote]B does not necessarily provide an ordered resultset. It provides row numbers ordered by the customer name, the resultset however is not necessarily ordered that way. The only one that has an ORDER BY clause (required for guaranteeing an ordered resultset) has a syntax error.Don't confuse 'will usually work the way you want' with 'is guaranteed to work the way you want'. No order by clause, no guarantee of order.For B to be correct, it needs ORDER BY CustomerName added at the end.[quote]A: D as coming from SQL SERVER 2008 Full text indexes are stored in databases unlike the previous versions where they are stored on disks structured outside the database[/quote]Outside the DB doesn't mean they're not backed up with the DB. Fulltext indexes have always been backed up with the DB, that they're now in the DB files doesn't suddenly change that.From Books Online (SQL 2005 entry)[quote][b]Backup and restore treat full-text catalogs the same as database files.[/b] If the database that is being copied contains tables that have been defined for full-text indexing, then the destination computer must also have Full-Text Search installed before the full-text catalogs can be re-created and repopulated. If the Microsoft Full-Text Engine for SQL Server (MSFTESQL) service is not installed, the full-text catalog will be offline after restore.[/quote]</description><pubDate>Tue, 19 Mar 2013 03:38:02 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]beginner_dk (3/18/2013)[/b][hr]the company or the recruiter is unaware of the questions and the answers. He will just receive the score card with the percentile of the candidate.[/quote]That's actually a major part of the problem.</description><pubDate>Mon, 18 Mar 2013 23:06:42 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>Hi Everyone,I have few questions regards to Gila Monster's answers can anyone of you please help me in finding the right ones as i am new to SQL Server Q: Which of the following allows for the truncation of a transaction log?A. Transaction logs are truncated when you use SQL Profiler.B. Transaction logs are truncated when you use the following syntax: truncate table AC. Transaction logs are truncated when you backup your database.D. You can not backup transaction log.A: I guess C is a possible answer as the transactions logs are automatically truncated with back up Q: Which of the following statements about unique Constraints are TRUE?A. You can have only one unique constraint applied to a table.B. Unique constraints can be used to establish a link between two tables.C. You can only have one column assigned to a unique constraint.D. If a primary key was already assigned to a table, the unique constraint would identify a special column used for indexing,A: I am guessing B as the answer as "a link between tables"  can also be a FK (FOREIGN KEY) and UC are used for FK'sQ: Which of the following is an improved performance feature that uses bitmap filters for selecting minimal rows with queries?A. Table partitionsB. Star JoinC. Where clauseD. Outer JoinA: Star Join uses bitmap filters for performance in SQL SERVER 2008Q. Which of the following statements can be used to provide sorted result set based in the CustomerName column?A. SELECT ROW_NUMBER() AS RN, CustomerName from Customers order by CustomerNameB. SELECT ROW_NUMBER() OVER (ORDER BY CustomerName) AS RN, CustomerName FROM CustomersC. SELECT ROW_NUMBER() (ORDER BY CustomerName) AS RN, from CustomersD. SELECT ROW_NUMBER() AS RN, CustomerName from Customers A: B as it is not mandatory to specify the partition by in over clauseIf PARTITION BY is not specified, the function treats all rows of the query result set as a single group. Q: Full text indexes can be backed up and restored with the rest of the database due to the ...A. ...new index organization systemB. ...overall size of the index getting smaller.C. ...index becoming a part of the transaction logs.D. ...indexes no longer being stored outside of the database.A: D as coming from SQL SERVER 2008 Full text indexes are stored in databases unlike the previous versions where they are stored on disks structured outside the databaseAny Help is Greatly Appreciated!Thanks and Regards!:-)</description><pubDate>Mon, 18 Mar 2013 22:18:03 GMT</pubDate><dc:creator>beginner_dk</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>the company or the recruiter is unaware of the questions and the answers. He will just receive the score card with the percentile of the candidate.</description><pubDate>Mon, 18 Mar 2013 20:49:39 GMT</pubDate><dc:creator>beginner_dk</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>I agree. They hired me anyway and I told them about it. Proveit needs to fix this mess otherwise it is hurting lots of people. I was lucky but not everybody.....ThanksJag Walia</description><pubDate>Mon, 18 Mar 2013 20:48:01 GMT</pubDate><dc:creator>JagWalia</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]beginner_dk (3/18/2013)[/b][hr]these are an online assessment test  questions called proveit[/quote]Yowch!  You should alert the company that made you go through the "Proveit" gambit and then show them Gail's answers.  As a bit of a side bar, this is why I refuse to go through such testing for any company.</description><pubDate>Mon, 18 Mar 2013 20:37:37 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>these are an online assessment test  questions called proveit</description><pubDate>Mon, 18 Mar 2013 16:44:16 GMT</pubDate><dc:creator>beginner_dk</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>I have a question, where is this employer located?  Notice, I'm not asking who they are, just where they are located.</description><pubDate>Tue, 10 Jan 2012 21:22:28 GMT</pubDate><dc:creator>Lynn Pettis</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]LutzM (1/10/2012)[/b][hr]@Craig: Answer A has an ORDER BY but invalid syntax.[/quote]My foot tastes GREAT!  I think I'll swallow to the knee next time.[quote]The problem in general from my point of view:There's a company looking for someone with decent SQL skills since they obviously don't have anybody at the team yet. Or they're trying to ask a bunch of trick questions just for the fun of it, and missed to include the fun part.But if you (JagWalia) cannot spot the errors in the questions/answers and provide a reason why those are wrong, you're probably not the one they're looking for. The company seems to look for someone to teach, not to learn...[/quote]+1I'd definately have to agree with this.  I wouldn't trust the rest of the questions offhand either.</description><pubDate>Tue, 10 Jan 2012 16:33:47 GMT</pubDate><dc:creator>Evil Kraig F</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>I am going to address these questions and answers to the employer. I had 39 questions and 33 out of those were correct, however these are the ones that caught me off guard. And I just want to make sure before addressing it to the employer.</description><pubDate>Tue, 10 Jan 2012 16:23:23 GMT</pubDate><dc:creator>JagWalia</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>@Craig: Answer A has an ORDER BY but invalid syntax.The problem in general from my point of view:There's a company looking for someone with decent SQL skills since they obviously don't have anybody at the team yet. Or they're trying to ask a bunch of trick questions just for the fun of it, and missed to include the fun part.But if you (JagWalia) cannot spot the errors in the questions/answers and provide a reason why those are wrong, you're probably not the one they're looking for. The company seems to look for someone to teach, not to learn...</description><pubDate>Tue, 10 Jan 2012 15:55:57 GMT</pubDate><dc:creator>LutzM</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]brendan woulfe (1/10/2012)[/b][hr][quote][b]GilaMonster (1/10/2012)[/b][hr][quote][b]JagWalia (1/10/2012)[/b][hr][b][quote][b]Q. Which of the following statements can be used to provide sorted result set based in the CustomerName column?[/b]A. SELECT ROW_NUMBER() AS RN, CustomerName from Customers order by CustomerNameB. SELECT ROW_NUMBER() OVER (ORDER BY CustomerName) AS RN, CustomerName FROM CustomersC. SELECT ROW_NUMBER() (ORDER BY CustomerName) AS RN, from CustomersD. SELECT ROW_NUMBER() AS RN, CustomerName from Customers[/quote]None of them.If that was a sample test or some training material that you bought, get a refund.[/quote]Curious as to why you said none of them.  The question is worded in a way that it can be read differently.  I was thinking one of them is right though, without giving that one away.[/quote]Yeah, that's what I was thinking.  Just wanted to make sure it was the "sorted result" part of the question that lead her to say none of them is all.</description><pubDate>Tue, 10 Jan 2012 15:55:23 GMT</pubDate><dc:creator>brendan woulfe</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]GilaMonster (1/10/2012)[/b][hr]If I got those from a company prior to an interview, I would think twice (or more) about whether I wanted to work there. Whoever wrote those questions has no clue about SQL, they are so way wrong it's not even funny.[/quote]Sounds like a bunch of questions coming from a recruiter.We could make them funny:-DNo.  Seriously, I would probably poke a lot of fun at them.:hehe:</description><pubDate>Tue, 10 Jan 2012 15:51:33 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>This one makes me laugh:[quote]Q: Which of the following is an improved performance feature that uses bitmap filters for selecting minimal rows with queries?A. Table partitionsB. Star JoinC. Where clauseD. Outer Join[/quote]That's just hysterical.  It's bad enough few enough people understand what a bitmap does and how bit/byte comparisons work, but... WOW.  ROFL</description><pubDate>Tue, 10 Jan 2012 15:51:06 GMT</pubDate><dc:creator>Evil Kraig F</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]brendan woulfe (1/10/2012)[/b][hr][quote][b]GilaMonster (1/10/2012)[/b][hr][quote][b]JagWalia (1/10/2012)[/b][hr][b][quote][b]Q. Which of the following statements can be used to provide sorted result set based in the CustomerName column?[/b]A. SELECT ROW_NUMBER() AS RN, CustomerName from Customers order by CustomerNameB. SELECT ROW_NUMBER() OVER (ORDER BY CustomerName) AS RN, CustomerName FROM CustomersC. SELECT ROW_NUMBER() (ORDER BY CustomerName) AS RN, from CustomersD. SELECT ROW_NUMBER() AS RN, CustomerName from Customers[/quote]None of them.If that was a sample test or some training material that you bought, get a refund.[/quote]Curious as to why you said none of them.  The question is worded in a way that it can be read differently.  I was thinking one of them is right though, without giving that one away.[/quote]Not a single one has an Order By clause.  You cannot guarantee an ordered result.  It's a syntax question for the use of ROW_NUMBER(), but is pointless without the final outer ORDER BY clause.</description><pubDate>Tue, 10 Jan 2012 15:49:18 GMT</pubDate><dc:creator>Evil Kraig F</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]JagWalia (1/10/2012)[/b][hr]GilaMonster, thanks for replying those questions. I got these questions prior to the interview. I can see login ID question is a syntax issue and I can find the correct one on the net but rest of them are something I am not sure of.[/quote]I don't mean to sound arrogant or mean, but if you cannot intelligently come up with a response to those questions as to why they are wrong or why the answers are not complete you should pass on this job.  If not to save yourself from a job fit that is not right for you, do it for the people that you will have to work with.</description><pubDate>Tue, 10 Jan 2012 15:46:19 GMT</pubDate><dc:creator>SQLKnowItAll</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]GilaMonster (1/10/2012)[/b][hr][quote][b]JagWalia (1/10/2012)[/b][hr][b][quote][b]Q. Which of the following statements can be used to provide sorted result set based in the CustomerName column?[/b]A. SELECT ROW_NUMBER() AS RN, CustomerName from Customers order by CustomerNameB. SELECT ROW_NUMBER() OVER (ORDER BY CustomerName) AS RN, CustomerName FROM CustomersC. SELECT ROW_NUMBER() (ORDER BY CustomerName) AS RN, from CustomersD. SELECT ROW_NUMBER() AS RN, CustomerName from Customers[/quote]None of them.If that was a sample test or some training material that you bought, get a refund.[/quote]Curious as to why you said none of them.  The question is worded in a way that it can be read differently.  I was thinking one of them is right though, without giving that one away.</description><pubDate>Tue, 10 Jan 2012 15:41:34 GMT</pubDate><dc:creator>brendan woulfe</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>If I got those from a company prior to an interview, I would think twice (or more) about whether I wanted to work there. Whoever wrote those questions has no clue about SQL, they are so way wrong it's not even funny.</description><pubDate>Tue, 10 Jan 2012 15:34:27 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>GilaMonster, thanks for replying those questions. I got these questions prior to the interview. I can see login ID question is a syntax issue and I can find the correct one on the net but rest of them are something I am not sure of.</description><pubDate>Tue, 10 Jan 2012 15:29:57 GMT</pubDate><dc:creator>JagWalia</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]JagWalia (1/10/2012)[/b][hr][b]Q: Which of the following allows for the truncation of a transaction log?[/b]A. Transaction logs are truncated when you use SQL Profiler.B. Transaction logs are truncated when you use the following syntax: truncate table AC. Transaction logs are truncated when you backup your database.D. You can not backup transaction log.[/quote]None of the above. They're all wrong.[quote][b]Q: Which of the following statements about unique Constraints are TRUE?[/b]A. You can have only one unique constraint applied to a table.B. Unique constraints can be used to establish a link between two tables.C. You can only have one column assigned to a unique constraint.D. If a primary key was already assigned to a table, the unique constraint would identify a special column used for indexing,[/quote]None of the above. They're all wrong.[quote][b]Q: Using a join in your select statement instead of a where clause is more efficient because the join pulls less data into your working memory.[/b]A. TrueB. False[/quote]The day someone shows me a join in a select clause.... (select statement is the entire thing, select, from, where, group by, having, order by)[quote][b]Q. Which of the following statements, if used for creating a new login id, will result in an error?[/b]A. CREATE LOGIN [HumanResources/JohnSmith] FROM WINDOWSB. CREATE LOGIN AndrewWalters WITH PASSWORD '!^%&amp;7', DEFAULT DATABASE = HRC. CREATE LOGIN John WITH PASSWORD '*&amp;!@*&amp;'D. CREATE LOGIN [HumanResources/Jim] FROM WINDOWS, DEFAULT DATABASE=CRM[/quote]Here's a suggestion: run them and see...[quote][b]Q. Which of the following statements can be used to provide sorted result set based in the CustomerName column?[/b]A. SELECT ROW_NUMBER() AS RN, CustomerName from Customers order by CustomerNameB. SELECT ROW_NUMBER() OVER (ORDER BY CustomerName) AS RN, CustomerName FROM CustomersC. SELECT ROW_NUMBER() (ORDER BY CustomerName) AS RN, from CustomersD. SELECT ROW_NUMBER() AS RN, CustomerName from Customers[/quote]None of them.If that was a sample test or some training material that you bought, get a refund.</description><pubDate>Tue, 10 Jan 2012 15:21:12 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>Why don't you tell us what you think and why you think the questions are tricky and/or what your answer would be?I think it's fair enough to have a discussion about your answers (edit: and reasons why you think it's the correct answer) rather than you just using our thoughts... After all: we haven't been asked the questions originally... ;-)</description><pubDate>Tue, 10 Jan 2012 15:17:51 GMT</pubDate><dc:creator>LutzM</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]JagWalia (1/10/2012)[/b][hr]I agree Lutz, but I am just curious to see what you all think.[/quote]Ignoring the fact that these questions and answers are not worded correctly, it is clear with the multiple choice design that they were not developed to see what people "think." Its like asking Q. 1+1=?a.1b.2c.3d.4and then asking our "opinions." You will not succeed if you do not find out these answers on your own.</description><pubDate>Tue, 10 Jan 2012 15:15:58 GMT</pubDate><dc:creator>SQLKnowItAll</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>I agree Lutz, but I am just curious to see what you all think.</description><pubDate>Tue, 10 Jan 2012 15:10:27 GMT</pubDate><dc:creator>JagWalia</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>On some questions the answer would be "E: none of the above / it depends" (or C, respectively)</description><pubDate>Tue, 10 Jan 2012 15:04:35 GMT</pubDate><dc:creator>LutzM</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]Ninja's_RGR'us (1/10/2012)[/b][hr][quote][b]SQLKnowItAll (1/10/2012)[/b][hr]Why are these tricky? [/quote]Because a lot of the right answers are actually wrong or incomplete.  I always hated those super beginner questions.[/quote]Just follow the multiple choice pattern... ABBACADABBA</description><pubDate>Tue, 10 Jan 2012 14:49:08 GMT</pubDate><dc:creator>SQLKnowItAll</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>[quote][b]SQLKnowItAll (1/10/2012)[/b][hr]Why are these tricky? [/quote]Because a lot of the right answers are actually wrong or incomplete.  I always hated those super beginner questions.</description><pubDate>Tue, 10 Jan 2012 14:46:05 GMT</pubDate><dc:creator>Ninja's_RGR'us</dc:creator></item><item><title>RE: Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>Why are these tricky? Seems more like you didn't want to do your homework yourself... All of these answers can be found by using google or searching SSC.</description><pubDate>Tue, 10 Jan 2012 14:33:02 GMT</pubDate><dc:creator>SQLKnowItAll</dc:creator></item><item><title>Few tricky Questions about SQL Server 2008 that I came across...</title><link>http://www.sqlservercentral.com/Forums/Topic1233541-391-1.aspx</link><description>Few Questions about SQL Server 2008 that I came across. [b]Q: Which of the following allows for the truncation of a transaction log?[/b]A. Transaction logs are truncated when you use SQL Profiler.B. Transaction logs are truncated when you use the following syntax: truncate table AC. Transaction logs are truncated when you backup your database.D. You can not backup transaction log.[b]Q: Which of the following statements about unique Constraints are TRUE?[/b]A. You can have only one unique constraint applied to a table.B. Unique constraints can be used to establish a link between two tables.C. You can only have one column assigned to a unique constraint.D. If a primary key was already assigned to a table, the unique constraint would identify a special column used for indexing, [b]Q: Which of the following is an improved performance feature that uses bitmap filters for selecting minimal rows with queries?[/b]A. Table partitionsB. Star JoinC. Where clauseD. Outer Join[b]Q: Using a join in your select statement instead of a where clause is more efficient because the join pulls less data into your working memory.[/b]A. TrueB. False[b]Q: Full text indexes can be backed up and restored with the rest of the database due to the ...[/b]A. ...new index organization systemB. ...overall size of the index getting smaller.C. ...index becoming a part of the transaction logs.D. ...indexes no longer being stored outside of the database.[b]Q. Which of the following statements, if used for creating a new login id, will result in an error?[/b]A. CREATE LOGIN [HumanResources/JohnSmith] FROM WINDOWSB. CREATE LOGIN AndrewWalters WITH PASSWORD '!^%&amp;7', DEFAULT DATABASE = HRC. CREATE LOGIN John WITH PASSWORD '*&amp;!@*&amp;'D. CREATE LOGIN [HumanResources/Jim] FROM WINDOWS, DEFAULT DATABASE=CRM[b]Q. Which of the following statements can be used to provide sorted result set based in the CustomerName column?[/b]A. SELECT ROW_NUMBER() AS RN, CustomerName from Customers order by CustomerNameB. SELECT ROW_NUMBER() OVER (ORDER BY CustomerName) AS RN, CustomerName FROM CustomersC. SELECT ROW_NUMBER() (ORDER BY CustomerName) AS RN, from CustomersD. SELECT ROW_NUMBER() AS RN, CustomerName from Customers</description><pubDate>Tue, 10 Jan 2012 14:31:05 GMT</pubDate><dc:creator>JagWalia</dc:creator></item></channel></rss>