Forum Replies Created

Viewing 15 posts - 61 through 75 (of 515 total)

  • RE: Moving 2008 R2 db to 2012

    I re-read your post and found that you are actually looking for detaching and attaching the DB's. Here is the useful link http://msdn.microsoft.com/en-us/library/ms189625.aspx

    Hope this helps!

  • RE: Moving 2008 R2 db to 2012

    Take a backup of the database on 2008R2, example shown below:

    USE Master

    GO

    BACKUP DATABASE [SQLTraining]

    TO DISK = N'D:\SQLTraining_FullBackup.bak' WITH NOFORMAT, NOINIT,

    NAME = N'SQLTraining-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS...

  • RE: SQL Server Transactional Replication . Artice not created by snapshot

    🙂

    Yes correct! I developed this script for my development team, so that they can add/remove articles. And should get some custom error message instead of SQL error message.

  • RE: SQL Server Transactional Replication . Artice not created by snapshot

    Bhaskar.Shetty (6/10/2013)


    Normally on a huge database it is not a good idea to generate the snapshot everytime you an article to it, why not try intilize subscription with backup option.

    +1

    Normally,...

  • RE: SQL Server Transactional Replication . Artice not created by snapshot

    This should not happen ideally. Try going over once again and restart. Hopefully it should be created!

  • RE: Deprecation

    Thomas Abraham (6/8/2013)


    Didn't notice the boxes were, well, boxes. So only selected one answer, which appears to be only half the correct answer.

    +1

    Same here, I also marked the single answer:...

  • RE: Float Data Type

    Interesting question Mark!

    With no idea about the question, I went ahead with a fluke and got that correct 🙂

  • RE: IFF - 1

    Danny Ocean (6/5/2013)


    Good question ron.

    You write down in question that "Meaning IIF is not a function in SQL SERVER 2012? ". I think it should be "Meaning IIF is not...

  • RE: Usage of Null

    Danny Ocean (6/4/2013)


    Really easy one. Just look the first if condition, it gives result as 'Statement1 : Not null'. Now only Option 2nd having this one. I don't need to...

  • RE: Usage of Null

    An easy one for the day.

    SET ANSI_NULLS ON --> enforces SQL-92 standard which says that all equal to and not equal to with NULL evaluates to FALSE.

  • RE: TOP and ORDER BY

    Srinivas.Pendyala (6/3/2013)


    what about the 5 th value,why it is not giving output of 5?

    Srinivas, The idea here is we are using "TOP(6) WITH TIES", initially "TOP 6" is executed,...

  • RE: TOP and ORDER BY

    Easy one for the day. Thanks Yogesh:-)

  • RE: COALESCE

    An easy one Chirag with nice explanation. Thanks!

  • RE: GROUPING SETS - 1

    Firstly, I would appreciate Ron for coming up with a nice Qotd with an intent to teach grouping sets. Secondly, I do feel, solving this question was rather tricky and...

  • RE: TOP clause WITH TIES

    L' Eomot Inversé (5/30/2013)


    That's a fun question.

    But maybe there will be complaints from some who think QotD should test only knowledge and not reasoning (except perhaps very trivial...

Viewing 15 posts - 61 through 75 (of 515 total)