Thursday, July 8, 2010

SQL Server 2008 R2 and Data-Tier Applications

DATPACs
In the August CTP Microsoft introduced Data-Tier Applications and several new features were introduced in the Nov 2009 CTP. Registering; Viewing & comparing and upgrading Data-Tier applications were added.

A Data Application Component is an entity that integrates all data tier related objects used in authoring, deploying and managing into a single unit instead of working with them separately. Programmatically DACs belong to classes that are found in The Microsoft.SqlServer.Management.Dac namespace. DACs are stored in a DacStore and managed centrally. DACs can be authored and built using SQL Server Data-Tier Application templates in VS2010 (now in Beta 2) or using SQL Server Management Studio. This article describes creating DAC using SQL Server 2008 R2 Nov-CTP(R2 server in this article), a new feature in this version.

The following two articles treat DATPACs from two different angles. The first part is what you or a DBA can do in SQL Server Management Studio and in the second what a developer can do in Visual Studio.

Using SQL Server Management Studio
In the first part of this series [http://www.packtpub.com/article/working-with-data-application-components-sql-server-2008-r2] the author shows shows how you may extract a Data Application Component from a SQL Server 2008 and then deploy the component to an SQL Server 2008 R2 Server. The process is Wizard driven and very easy to understand. DAC files in the field of DATA are like *.msi files for applications. Just as you would install an application from an MSI file, you would install a database package with the DAC file with the extension DACPAC. You may even email a database. The cited article shows how all this is done.




Using Visual Studio
In  the second part of this series[http://www.sswug.org/articles/viewarticle.aspx?id=49844] the author shows how you may create a DATPAC from scratch in your Visual Studio IDE. You will start creating a DATPAC which has database with  a table and a view based on the table  even when not  connected to a server. You will then manually deploy the DATPAC to the server after connecting to it and complete the deployment.

14 comments:

  1. I want to thank you for this informative read, I really appreciate sharing this great post. Keep up your work.

    www.sqlsolutions.com

    ReplyDelete
    Replies
    1. Windows 10 Keys Store ( http://www.WindowsKeySales.com )

      Hearing all the negative sentiments toward the Windows 10 key OS made me really cautious in upgrading from Windows 7.
      Finally, my Windows 7 became buggy enough that I decided it was time for me to go ahead and upgrade.
      The days of reformatting my hard drive and reinstalling Windows OS (95, 98, XP...), when the computer started to act up, are over. I got the pro upgrade version....for a really great price on Windows 10 Keys Store ( http://www.WindowsKeySales.com ) .
      I purchased all my software from them. They are the best online store I ever buy.
      Installation took a while, with lots of downloading and installing drivers, updates...etc.
      When it was finally done, computer was running a lot faster, and all of the weird behaviors of previous installation were gone.
      Now as far as using the new OS, it really wasn't that big of a deal. Yes, it's different from the previous Windows; but after 2 or 3 days, I've picked up so many cool features that I truly believe it's a superior OS compared to the previous Windows releases. Really.
      The interface is quite convenient once you figure out how to use all the features and what happens when you move your cursor around the screen.
      Oh, yeah, and I don't have a touchscreen. Although I'm certain that a touchscreen would definitely be a more effective way to navigate Windows 8, I really have no problems using just the mouse.
      So, there you have it. I love this new OS.

      Windows 10 Keys Store ( http://www.WindowsKeySales.com )

      Delete
    2. Windows 10 Keys Store ( http://www.Frevvy.com )

      Hi, if you want to activate Windows 10 key, you need to have a product key. Don't worry if you don't have. It's very simple and convenient to search a product key on the professional site Windows 10 Keys Store ( http://www.Frevvy.com ) . Get the product key and then activate your OS step by step. Hope this can help you.

      Windows 10 Keys Store ( http://www.Frevvy.com )

      Delete

    3. windows 7 ultimate sp1 keygen , windows 8.1 professional key , free download genuine microsoft office 2010 product key , windows 7 buy , windows 7 online key store valid , windows vista ultimate anytime upgrade product key , windows 7 enterprise activation key download for sale , buy windows 10 product key , lhXWKW

      Delete
    4. free windows 7 key , windows multipoint server 2011 genuine , windows 10 product key , product key oem for microsoft office professional plus 2010 , windows 8.1 product key buy , whs 2011 activation key , free windows 7 ultimate product key , windows seven key shops , szPO2x

      Delete
  2. If you want to activate SQL Server, you can go to: www.cdekey.com, to got an activation key.Key is very cheap and is a genuine sharing of experiences after I buy if for you.

    ReplyDelete
  3. Windows 10 Key Sale Store (http://www.windows10keysale.com)


    I recommend you to visit Windows 10 Key Sale Store (http://www.windows10keysale.com) . Yesterday was my 5th purchase from their site.
    Everytime I am amazed at the prices and customer service.
    I have recommended this site to many friends. the fact will prove my words.

    Windows 10 Key Sale Store (http://www.windows10keysale.com)

    ReplyDelete
  4. Buywindows10keysale.com
    I want to thank emma here, she has won my business and I'll be posting my experience to you and others.
    My old computer crashed days ago. I had to buy a new computer. It costed me much.
    My budget was not much. To purchase a cheap windows 10 product key sale from MS was not enough. Then I went to Tomshardware, and one guy recommended http://www.Buywindows10keysale.com/ to me. Their price did attract me. So I decided to try after several emails to {name}. She was very patient and answered clearly to all my questions. I receved the key immediately after I sent {price} bucks. It worked perfectly. I was very very satisfied.
    I'll be buying from cheap windows 10 product key sale from now on as well.

    ReplyDelete
  5. Office 2016 Keys (http://www.Office2016Keys.com)

    You can buy it in the US store or place the order online. If you want to save time and money and have your system activated efficiently, then you just buy it from the online store Office 2016 Keys (http://www.Office2016Keys.com) . Genuine product, effective reply and good customer service.

    Office 2016 Keys (http://www.Office2016Keys.com)

    ReplyDelete
  6. I wanted to tell everyone to try: www.mororless.com. I haven't found a better place then there's to buy software and license keys from.

    ReplyDelete
  7. There are many options of windows product keys for windows in: www.cdekey.com,you can go to choose one.

    ReplyDelete
  8. Windows10KeySale.com

    Visit the site Windows10KeySale.com . I believe you will get what you want on the site. Besides, keep in mind that you also can communicate with them about the technicalproblem. They can help you with patient explanation and warm service.

    Windows10KeySale.com

    ReplyDelete
  9. Hey guys, you can try this site to get a valid product key, any kind you want, click here if you need one: www.motionkeys.com.

    ReplyDelete
  10. Windows 10 Keys Store ( http://www.WindowsKeySales.com )


    I want to thank Sara here, she has won my business and I'll be posting my experience to you and others.
    My old computer crashed days ago. I had to buy a new computer. It costed me much.
    My budget was not much. To purchase a Windows 10 key from MS was not enough. Then I went to Tomshardware, and one guy recommended Windows 10 Keys Store ( http://www.WindowsKeySales.com ) to me. Their price did attract me. So I decided to try after several emails to Sara. She was very patient and answered clearly to all my questions. I receved the key immediately after I sent 35 bucks. It worked perfectly. I was very very satisfied.
    I'll be buying from Windows 10 Keys Store ( http://www.WindowsKeySales.com ) from now on as well.

    Windows 10 Keys Store ( http://www.WindowsKeySales.com )

    ReplyDelete

I am not paying this invoice. I am disregarding it, becuase....

 I am not paying this invoice because MICROSOFT has not provided me with a satisfactory way to access my account since June of this year des...