How to automate sql server querry and output to send via email alerts

Hi,
I have MS SQL 2005 server. Daily i m running sql querry at 10:30 pm. i want to automate this process & output need to send via email. Please suggest what are the options availble.
Thanks in advance
...Umesh

Create a job and put the query in , then schedule it... You can email an output by using data base email feature
EXEC msdb.dbo.sp_send_dbmail 
     @profile_name = 'Admin', 
     @recipients = '[email protected]', 
     @query = 'SELECT COUNT(*) FROM AdventureWorks.Person.Address', 
     @subject = 'Error Log Count', 
     @attach_query_result_as_file = 1 ;
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • When new pix is taken and want to send via email it is received upside down, why?

    has anyone have this problem, when you take a picture and want to send via email the picture is received upside down? does anyone know how to fix this?

    Better yet, check out the two day gathering of professional photographers who are passionate enough about the iPhone 4S to put together a seminar on iPhoneography.
    http://www.creativelive.com/courses/iphoneography-jack-hollingsworth
    All the Links!
    KateHaileyJanuary 3, 2012 - 1:55pm 
    Hi everyone,
    I just wanted to take a moment to share numerous links that may be referenced over the 2-Day iPhoneography workshop with Jack Hollingsworth.
    Please feel free to add to it as you think of other things that might be of great reference to all the iPhoneographer's out there!
    Apps:
    Adobe Photoshop Express: http://itunes.apple.com/us/app/adobe-photoshop-express/id331975235?mt=8
    Best Camera: http://itunes.apple.com/us/app/best-camera/id329800600?mt=8
    Camera+: http://itunes.apple.com/us/app//id329670577?mt=8
    Filterstorm: http://itunes.apple.com/us/app/filterstorm/id363449020?mt=8
    Instagram: http://itunes.apple.com/us/app/instagram/id389801252?mt=8
    Luminance: http://itunes.apple.com/us/app/luminance/id443465287?mt=8
    Minimal Folio (iPhone): http://itunes.apple.com/us/app/minimal-folio-for-iphone-design/id4124111...
    Minimal Folio (iPad): http://itunes.apple.com/us/app/minimal-folio-design-photo/id385429744?mt=8
    Photoforge2: http://itunes.apple.com/us/app/photoforge2/id435789422?mt=8
    Picfx: http://itunes.apple.com/us/app/picfx/id417563413?mt=8
    Pocket Portfolio: http://itunes.apple.com/us/app/pocket-portfolio/id419455189?mt=8
    Snapseed: http://itunes.apple.com/us/app/snapseed/id439438619?mt=8
    Accessories:
    Diff (case): http://www.diffcase.com/DiffCase.html
    Glif (tripod access): http://www.studioneat.com/products/glif-for-iphone-4
    Gymbl (iPhone Tripod): http://www.youbiq.com/
    iPik (case): http://www.ipikcase.com/
    iPro Lens: http://iprolens.com/
    the joy factory (Rain Ballet): http://www.thejoyfactory.com/rainballet-iphone-4-waterproof-case-with-in...
    kogeto (dot lens): http://kogeto.com/dot.php
    mCam: http://www.almlive.com/store/
    Modahaus (Steady Stand): http://www.modahaus.com/store/steady-stand-200/
    Mophie Juice Pack Plus (iPhone4/4s): http://www.mophie.com/mophie-juice-pack-plus-iPhone-4-battery-case-p/116...
    Mosy Mount (tripod): http://www.mosymount.com/
    olloclip (tripod access): http://www.olloclip.com/
    Photojojo: http://photojojo.com/store/
    pixeet (app/lens): http://www.pixeet.com/
    snapmount: http://snapmountforiphone.com/
    sites, blogs and reference material:
    1197.is: http://1197.is/
    the App Tutor: http://theapptutor.com/
    Chase Jarvis: The Best Camera – Book: http://www.amazon.com/Best-Camera-One-Thats-You/dp/0321684788/ref=sr_1_1...
    EyeEm: http://www.eyeem.com
    eyephoneography: http://eyephoneography.com/
    FiLMiC Pro: http://www.filmicpro.com/
    Flickr – iPhoneography: http://www.flickr.com/groups/iPhonephotography
    Instagram: http://instagr.am
    Instatips: http://instatips.tumblr.com
    iPhoneArt: http://iphoneart.com
    iPhone Camera Essentials: http://iphonecameraessentials.com/
    iPhone Obsessed (Book/App): http://marcolinaslate.com/iphoneobsessed/
    iPhoneogenic: http://iPhoneogenic.tumblr.com
    iPhoneography (Glyn Evans): http://iphoneography.com
    iPhoneorgaphyCentral: http://iphoneographycentral.com/
    iShowcase Vol.1 (App): http://itunes.apple.com/us/app/ishowcase-vol.01/id409042603?mt=8
    iShowcase Vol.2 (App): http://itunes.apple.com/us/app/ishowcase-vol.02-w/id455932142?mt=8
    Just What I See: http://www.justwhatisee.com/
    Life in LoFi (Marty Yawnick): http://lifeinlofi.com
    LoFi MODE: http://lofimode.com/
    MobiTog: http://mobitog.com
    Mobile Photo Group: http://www.mobilephotogroup.com
    Mobile photography awards: http://www.mobilephotoawards.com
    p1xels: http://pixelsatanexhibition.com
    Tiny Tutorials:http://www.danburkholder.com/Pages/main_pages/tutorials_main_page.htm
    What I See Now: http://www.whatiseenow.com
    Your Camera Loves You (eBook): http://www.peachpit.com/store/product.aspx?isbn=0132776308

  • How to add sql server (SQLEXPRESS) AND sql server Agent(SQLEXPRESS) in sql server Configuration Manager

    When I had uninstall Sql Server 2008 R2, that time I had uninstalled instances (SQLEXPRESS and MSSQLSERVER) and again installed sql server 2008 r2 setup .
    Before uninstalling from control panel >Uninstall program showed two setups 
    1) Microsoft sql server  2) Microsoft sql server R2 , I uninstalled both. 
    As i installed SQL R2 again, it is showing only 1 instance ie "Microsoft sql server R2" but the other instance is some how missing -"Microsoft sql server" and 
    also sql server (SQLEXPRESS)  AND sql server Agent(SQLEXPRESS)  services from sql server configuration manager are missing
    How to retain the missing instance and the above services? 
    Plz give replay

    Hi Tushar,
    I need to ask you a question here. 
    Why you require SQL Express edition on your machine, if there is no need you can safely ignore it and continue using SQL Server 2008 R2 edition.
    Express edition can also get installed if you happen to have installed Visual Studio 2010 for instance.
    If you need it then you must install SQL Server Express edition, It is a freeware and can be download from Microsoft website.
    BR, Shashikant

  • How to automate Sql Server Configuration Manager settings?

    For example, I have just installed Sql Express 2012, and need to configure it for use over the local network. Usually I just manually open Sql Server Configuration Manager -- Sql Server Network Configuration -- <myinstance>, and enable TCP/IP on 1433.However,
    I am not going to be available to do this on every customer's computer. I need to do these steps using a script or something. Is there a way to do this?

    Have a look at this stackexchange thread:
    http://stackoverflow.com/questions/9138172/enable-tcp-ip-remote-connections-to-sql-server-express-already-installed-databas
    There are two good options outlined there
    1. install it with the /TCPENABLED=1 switch (in the original post)
    2. Execute a wmi script post-install (in the answer)
    Note: if you decide to use WMI the root path will be \root\Microsoft\SqlServer\ComputerManagement11 for 2012 
    I will have to support install time, and post install. Does TCPENABLED=1 also setup the 1433 port value in TCP/IP Properties - IP Addresses tab?

  • How to know sql server version and edition information

    Hello,
    We can see the version information in help menu item in the SSMS.
    How can i find the edition that was installed in my system?
    Thanks in advance.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Run below query to know the SQL version and edition
    SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY('productlevel'), SERVERPROPERTY('edition')
    Refer below for more details
    http://msdn.microsoft.com/en-us/library/ms174396.aspx
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • How to repair database using SQL server 2008 and C#

    How to repair database in SQL server 2008 using C#
    Musakkhir Sayyed.

    Unfortunately your post is off topic as it's not specific to SQL Server Samples and Community Projects.  
    This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it.  The links I provide below will help you determine the right forum to ask your
    question in.
    For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
    Office, IE, and other products.
    For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
    search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
    search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
    If you think your issue is related to SQL Server Samples and Community Projects and I've flagged it as Off-topic, I apologise.  Please repost your question and include as much detail as possible about your problem so that someone can assist you further. 
    If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCSA, MCITP, MCDBA
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • How to deploy MS Sql Server 2005 and 2008 jdbc driver

    Hi SAP Guru's
    Can somebody tell me how to deploy the jdbc driver of MS SQL Server 2005 and 2008 on SDM.
    According to the SAP instruction we should have 3 files(mssqlserver.jar,msbase.jar,msutil.jar) but in 2005 driver file we only have 1 file i.e sqljdbc.jar so how do i deploy it .
    Secondly i cannot deploy it on visual administrator as well and when i am doing the File to jdbc scenarion i am getting this error
    " Accessing database connection "jdbc.sqlserver://localhost:1433;DatabaseName=Employee failed DriverManagerException. Cannot establish connection to URL jdbc.sqlserver://localhost:1433;DatabaseName=Employee  SAPClassNotFoundException com.microsoft.sqlserver.jdbc.SQLServerDriver".
    can somebody please upload the screen shots on mediafire or any other site so that i will solve my problem.

    Hello,
    *OS: First of all: *
    3 files (msbase.jar,mssqlserver.jar and msutility.jar )should be zipped to aii_af_jmsproviderlib.zip file only for UNIX OS.
    For Windows OS only sqljdbc.jar file which in every version of JDBC driver should be zipped to aii_af_jmsproviderlib.zip.
    You can deploy JDBC driver through SDM tool which mention in guide below:
    New version of JDBC driver installation guiade:
    External Driver Configuration for Process Integration 7.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
    Drivertool from this guide you can find at https://www.sdn.sap.com/irj/sdn/howtoguides
    Then Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 HYPERLINK "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f"
    How to Install and Configure External Drivers for JDBC & JMS
    AdaptersHYPERLINK "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e00262f5-934d-2a10-b99c-9bc63c2a7768"
    Download attached system files (ZIP 16KB)
    Any questions - let me know
    BR,
    Dzmitry

  • How do SQL server 2000 and Oracle linked?

    Hi,
    How do SQL server 2000 and Oracle linked?
    Thanks in Advance
    Baloch.

    use the like to setup ODBC and datasource
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    and then create link server in sql server after you test conenction with oracle

  • How to switch between SQL Server Express and SQL Server Evaluation

    I have both SQL Server Express and SQL Server Evaluation installed on my laptop. 
    I am wondering how to start SQL Server Evaluation; when I click All Programs > SQL Server Management Studio, I always get SQL Server Express (which I installed on my laptop a couple years ago). 
    I just downloaded SQL Server Evaluation (a couple days ago). 
    Whenever I try to access SQL Server Evaluation, I always seem to get SQL Server Express. 
    Sorry if this is a trivial thing; I just can’t seem to get it to work (and I Googled for a solution before posting this).
    Thanks everyone!!

    Ah!  It worked!!  This is great!!  It seems like I can connect to my version of SQL Server Evaluation, named 'EXCEL-PC\EXCEL'.
    Somehow, though, I seem to keep getting errors in my BIDS when I try to run an SSIS project.  See below:
    Ah!  It worked!!  This is great!!  It seems like I can connect to my version of SQL Server Evaluation, named 'EXCEL-PC\EXCEL'.
    I am getting an error that VS is unable to load a document:
    BIDS has to be installed by one of these editions of SQL Server 2008: Standard, Enterprise, Developer, or Evaluation. 
    To install BIDS, run SQL Server Setup and select Business Intelligence Development Studio.
    #1)  I recently downloaded and installed SQL Server Evaluation (specifically for the opportunity to try using BIDS and learn about this technology).
    #2)  When I run BIDS > SSIS, I get the error I described above. 
    #3)  I have had SQL Server Express installed for a couple years on my laptop
    So, my question is this: is it possible that BIDS > SSIS is picking up my SQL Server Express, instead of SQL Server Evaluation? 
    If so, how can I get BIDS to point to SQL Server Evaluation? 
    You can see in the image above that I have my BIDS Data Connections pointing to EXCEL-PC\EXCEL, which is the name of my SQL Server Evaluation. 
    Is this correct?  Why doesn’t this work? 
    I’ve spent some considerable time on this.  I’m close to just uninstalling EVERYTHING pertaining to SLQ Server, and just reinstalling SQL Server Evaluation, but this will take some time, and I don’t necessarily want
    to get rid of my SQL Server Express.  However, if that’s the only way to get this working, then that’s what I’ll do.
    I’d greatly appreciate any insight into this!!

  • How to integrate from MS SQL SERVER 2005 and Flatfile to Oracle 10g.

    Hi
    I am new to ODI. I am trying to load sample data from MS SQL Server 2005 and Flatfile to Oracle 10g.
    1. I have created three models.
    1-1. SQL2005 (SRC_CUSTOMER table)
    1-2. Flatfile (SRC_AGE_GROUP.txt & SRC_SALES_PERSON.txt)
    1-3. Oracle 10g (TRG_CUSTOMER table)
    You may know I got those environments from the ODI DEMO environment.
    2. I could able to reverse the tables also.
    3. I have created an interface which contains source table (from MSSQL 2005), Flatfile and target table from ORACLE model.
    4. I have imported the knowledge modules. But I am confusing in selecting the knowledge modules to source and target tables.
    I've selected LKM File to SQL for flatfile model.
    I've also selected LKM SQL to SQL for MSSQL 2005 model and IKM Oracle Incremental Update for the target table (ORACLE).
    I've also implemented the interface that I created. It worked without errors. But there is no data in target table which is TRG_CUSTOMER.
    I really would like to know what happened and what the problems are.
    You can email me [email protected]
    Thanks in advance
    Jason Lee

    what did give for SRC_AGE_GROUP SRC_CUSTOMER join condition
    if it is
    (SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MAX
    give it as
    (SRC_CUSTOMER.AGE>SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE<SRC_AGE_GROUP.AGE_MAX

  • How to move sql server DB to oracle and DB2 to oracle

    Hi ,
    I would like to like to know what is the work involved when
    i want to retire sql server database and move to oracle and db2 to oracle.
    Please let me know the tools used for this purpose or wha should be done actually.
    Thanks in advance

    For the SQL Server migration you could use the SQL Developer utility. More details can be found at:
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    This SQL Developer based migration utility also supports DB2 migrations when the Db2 database is a UDB DB2 V7, V8 or V9 and if it is running on LUW. For ALL other DB2 databases no actual migration utility is available. Possible alternatives might be Golden Gate, Oracle Database Gateway or the SQL*Loader utility.

  • More Guru Winners for February 2015 in the SQL Server category and many others!

    It's been a busy week that also saw the
    TECHNET WIKI SUMMIT 2015
    Then we had the results for
    February's TechNet Guru competition ALSO posted!
    http://blogs.technet.com/b/wikininjas/archive/2015/03/19/technet-guru-february-2015.aspx
    Below is a summary of the medal winners for December. The last column being a few of the comments from the judges.
    Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki in the link above.
    Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
     BizTalk Technical Guru - February 2015  
    Steef-Jan Wiggers
    BizTalk Server 2013 R2 Instrumenting a custom pipeline component with ETW
    Mandi Ohlinger: "Always a fan of helping our custom pipeline users. Great addition to this group."
    Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
    Vignesh Sukumar
    BizTalk BAM (Business Activity Monitoring)
    Sandro Pereira: "Great job on this article! Well explained and nice pictures, however the article format need to be improved and some proofreading is need"
    Mandi Ohlinger: "Welcome to the 'I heart BAM' fan club. Nice job on this topic. A MUST read for new-to-BAM users. "
    Steef-Jan Wiggers
    BizTalk Server 2013 R2 Instrumenting BAM Activity Tracking with ETW
    Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
    Mandi Ohlinger: "ETW for BAM Activities - LOVE it. Nice use of the Framework. "
     Forefront Identity Manager Technical Guru - February 2015  
    Wim Beck
    FIM2010: Filter objects on export
    PG: "Simple, targeted but nice article, nice layout. "
    Søren Granfeldt: "Nice. Would be perfect with a complete code sample."
     Microsoft Azure Technical Guru - February 2015  
    saramgsilva
    Azure Mobile Services: How to see the log files in server
    JH: "Log files are one of the most important things in a production environment. This article shows hows you can do that for the Azure Mobile Services in a nice and easy way."
    Alan Carlos: "Great article!"
    Ed Price: "Very useful topic! These are a great set of articles!"
    saramgsilva
    Azure Mobile Services: How to see the WebConfig file published
    Ed Price: "Great detail and fantastic use of images! I love all the in-line links!"
    JH: "Sometimes it is hard to tell when working in a multi-environment what configuration was published to the Server. The article shows short and easy how to do that for the Azure Mobile Services."
     Miscellaneous Technical Guru - February 2015  
    Arleta Wanat
    Retrieve all site mailboxes in your Office 365 tenant
    Durval Ramos: "This article has a well content, images and code that help to understand the solution. It has References and was Translated into more two languages. Good job!"
    Richard Mueller: "Good links. A great tutorial."
    Andy ONeill
    Silverlight: No Need to BringIntoView
    Durval Ramos: "A well formatted article is easier and more pleasant to read. This script is useful"
    Richard Mueller: "Good demonstration of a new feature."
    Chen V
    PowerShell : Enable Auto Reply for Shared Mail Box
    Durval Ramos: " A good solution originated of TechNet Forum. The script and images make it easy to understand and ensure you get the best interest to reader."
    Richard Mueller: "Good documentation of this feature."
     SharePoint 2010 / 2013 Technical Guru - February 2015  
    Geetanjali Arora
    SharePoint Online : Performing Batch Operations using REST API
    KB: "Very well explained article on a new and much awaited feature. Although Andrew Connell already explained this topic in several posts, this article still contains added value."
    Ed Price: "I love the History section. The formatting is amazing. And the References and See Also sections at the bottom are great icing on the cake. This is an important topic that's done incredibly well!"
    Matthew Yarlett
    Using the SpellCheck Webservice with the TinyMCE Richtext Editor and
    AngularJS in Office 365
    KB: "I read this article with growing interest, it contains a lot of added value. Very well and in-depth explanation. "
    Ed Price: "Great scenario! Good use of images, code, detail, and References! Could possibly use a greater breakdown and explanation of the code. This article just gets more and more interesting and valuable as you read it! Great job!"
    Arleta Wanat
    SharePoint Online: Turn on support for multiple content types
    in a list or library using Powershell
    KB: "Really nice, interesting and detailed article!"
    Ed Price: "The Content Types section helps explain this a lot! I also love the downloads at the end. What a fantastic resource!"
     Small Basic Technical Guru - February 2015  
    Nonki Takahashi
    Small Basic: Key Input
    Michiel Van Hoorn: "Great improvement."
    RZ: "Very nice explanation and examples of key input handling"
    Ed Price - MSFT
    Small Basic: The History of the Logo Turtle
    RZ: "Turtle (Logo) was the first programming language for many, including perhaps some of the Small Basic prorammers. Nice article explaining the history."
    Michiel Van Hoorn: "A nice background article and hopefull inspiration for those who want to start in robotics"
    Nonki Takahashi
    Small Basic: TechNet Wiki Article List
    Michiel Van Hoorn: "This is great! Perfect as a local cache of the articles. "
    RZ: "A good example"
     SQL BI and Power BI Technical Guru - February 2015  
    Sylvain PONTOREAU
    PowerBI API in .Net
    RB: "Great walkthrough. Looking forward for the WP8 version of the app ;)"
    PT: "Sylvain, very nice job with this. This is a timely topic about an emerging product that has great potential. This is a very good example of a well-written post on an interesting subject with enough information to be valuable to a
    solution developer. I will personally take time to explore the Power BI API and use your examples. "
     SQL Server General and Database Engine Technical Guru - February 2015  
    Ronen Ariely
    SQL Server Books Online
    AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
    Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
    Durval Ramos
    How to Collect Events and Errors on SQL Server
    Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
    AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
     System Center Technical Guru - February 2015  
    MarkusEliasson
    Troubleshoot ID 32008: DPM cannot
    protect this SharePoint farm...
    Ed Price: "An important topic that's very clear with great formatting and a good use of an image!"
    t.c.rich
    Managing Priorities of Client Polices and A/V Policies in SCCM
    Ed Price: "I love the descriptions, breakdown of sections, and code formatting! Great article!" 
    Mr X
    How to copy SMSTS.log when a Task Sequence fails in SCCM
    Ed Price: "A very helpful table and a good contribution to the community! Mr X again thinks of important content gaps to fill!"
     Transact-SQL Technical Guru - February 2015  
    Saeid Hasani
    T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
    Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
    Richard Mueller: "Good use of Wiki guidelines and great examples."
    Ronen Ariely
    Free E-Books about SQL and Transact-SQL languages
    Richard Mueller: "An excellent collection and a great idea."
    Durval Ramos: "A good initiative. Very useful !!!"
    Ricardo Lacerda
    Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
    - Accumulated Earnings
    Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
    Richard Mueller: "A new idea that can be very useful. Grammar needs work"
     Visual Basic Technical Guru - February 2015  
    Emiliano Musso
    Genetic algorithm to solve 2D Mazes in Visual Basic
    MR: "Great article! Love to see an application for AI in a simple game"
    Durval Ramos: "This article is well documented with images and your code clarifying important details. It also has References, a very useful video and your project available for download in "MSDN Code" !"
    Richard Mueller: "Incredible concept and code. Grammar needs work."
    Paul Ishak
    MultiHeadedTrackBar Control
    Durval Ramos: "Very interesting article, with methods and properties well documented. Your project was available in "MSDN Code" which facilitates the understanding of solution."
    Richard Mueller: "Amazing work. Extensive code but with lots of comments. Needs a TOC"
    tommytwotrain
    Using Trigonometry to draw graphic curves in VB.NET part 2.
    MR: "Great continuation. Love the usage of the code for circle text"
    Durval Ramos: "The article is interesting, but It's need to work better commenting about assemblies referenced on project and also structure your content into sections."
    Richard Mueller: "Good tutorial and example code demonstrating basic concepts. Avoid first person."
     Visual C# Technical Guru - February 2015  
    Magnus (MM8)
    C#: Enumerating collections that change
    Jaliya Udagedara: "Great article. Has a thorough and to the point explanation of problem and the solution with code samples. Loved it!"
    Carmelo La Monica: "Very useful and exhaustive about errors at runtime in these circumstances. Congratulations"
    Andy ONeill
    c#: Practical Poly
    Carmelo La Monica: "Fantastic artcle. Very detailed and exhaustive, congratulations ."
    Jaliya Udagedara: "Definitely worth reading this. Explains somewhat advance topic along with a fundamental concept of programming. "
     Wiki and Portals Technical Guru - February 2015  
    Durval Ramos
    Wiki: Microsoft Short URLs Personalized by SXP
    PG: "Nice idea, lots of potential to grow, really needs some more community attention."
    Richard Mueller: "An excellent idea. Good use of Wiki guidelines."
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
     Windows PowerShell Technical Guru - February 2015  
    Richard Mueller
    Document Your Active Directory Organization
    Alan Carlos: "Wow! Great article, congratulations!!! Very detailed!"
    Chen V: "Excellent Article - I liked return to top as well."
    Ed Price: "Wow! It's like a professional whitepaper! It's a valuable topic that's done with intricate detail! I love the images, diagrams, code blocks, and it ends very well with more resources and Wiki articles! The article just keeps
    digging deeper and deeper! Awesome job on this!"
    DexterPOSH
    PowerShell + REST API : Invoke-RestMethod Gotcha
    Chen V: "Good Article. TOC might have made this more rich! "
    Ed Price: "This is a good topic with some great content. It could benefit from sections and a TOC, as well as a References and See Also sections at the end. The inline links are helpful. Could "
    DexterPOSH
    PowerShell Trick : Search & highlight text in MS Word
    Ed Price: "This is a great solution, with some helpful Q&A in the comments!"
     Windows Presentation Foundation (WPF) Technical Guru - February 2015  
    Andy ONeill
    Lookless Controls
    KJ: "WPF can definitely be confusing when devs first encounter it. Like the way you break it down."
    Ed Price: "Wow! Fantastic explanations that are very clear and deep! The images and code bring it to life!"
    Andy ONeill
    Only One Parent
    KJ: "Same iwith this one, good 101 intro"
    Ed Price: "Another great tip! I love the detail here as well! Those snippets help a lot!"
    Andy ONeill
    Bind to Current Item of Collection
    KJ: "Feel like this topic has a lot of coverage out there, but it can't hurt to hammer on databinding yet one more time :) "
    Ed Price: "Fantastic topic with great execution! Although these could benefit from References and See Also wiki sections at the end, the Inline links help a lot!"
     Windows Server Technical Guru - February 2015  
    Mr X
    Ping for Beginners
    Mark Parris: "A good introduction with additional content."
    JM: "Great article idea and an excellent article that will be useful to many, thanks for your contribution."
    Philippe Levesque: "Good article that show a usefull utility for basic troubleshooting"
    Richard Mueller
    Active Directory: Get-ADFineGrainedPasswordPolicy Default and Extended Properties
    Mark Parris: "An Interesting insight on FGPP and their extended properties."
    JM: "This is a good piece of detailed information about this PowerShell cmdlet, thanks for sharing."
    Philippe Levesque: "Great article ! Illustrating some cmdlet's output when a user got assigned policy versus a user with the default domain policy could be a good idea."
    Richard Mueller
    Active Directory: Get-ADServiceAccount Default and Extended Properties
    Mark Parris: "A useful nugget of information."
    JM: "More very useful information about an AD cmdlet, thanks!"
    Philippe Levesque: "Good article !"
    As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.
    You will find the complete post, comments and feedback on the
    main announcement post.
    Please join the discussion, add a comment, or suggest future categories.
    If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above,
    THERE'S STILL TIME! :D
    Best regards,
    Pete Laker
    More about the TechNet Guru Awards:
    TechNet Guru Competitions
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
    TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
    you could win weekly awards!
    Have you got what it takes o become this month's
    TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

    Congrats to Ronen and Durval!
     SQL Server General and Database Engine Technical Guru - February 2015  
    Ronen Ariely
    SQL Server Books Online
    AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
    Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
    Durval Ramos
    How to Collect Events and Errors on SQL Server
    Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
    AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to install SQL SERVER 2008 r2 in window 7 home premimum 64bit

    how to install SQL SERVER 2008 r2 in home premimum 64bit os. can any say that weather it will support or not in window 7 home premimum os.
    my server log file:
    Final result:                  SQL Server installation failed.
    To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068052700
      Exit facility code:            1212
      Exit error code:               1316
      Exit message:                  SQL Server installation
    failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-03-27 00:52:25
      End time:                      2014-03-27
    00:56:09
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL
    Server\100\Setup Bootstrap\Log\20140327_005035\SSCRuntime_Cpu32_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
    Machine Properties:
      Machine name:                  SEVALAL-PC
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance          
      Instance ID                    Feature                                  Language          
      Edition              Version         Clustered 
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER  
          Database Engine Services                 1033                 Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER  
          SQL Server Replication                   1033                 Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER  
          Full-Text Search                         1033                 Standard Edition     10.50.1600.1    No    
      Sql Server 2008 R2   MSSQLSERVER          MSAS10_50.MSSQLSERVER  
           Analysis Services                        1033                 Standard Edition     10.50.1600.1    No  
      Sql Server 2008 R2   MSSQLSERVER          MSRS10_50.MSSQLSERVER  
           Reporting Services                       1033                 Standard Edition     10.50.1600.1    No    
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL
                   Database Engine Services                 1033                 Express Edition      10.3.5500.0    
    No        
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL
                   SQL Server Replication                   1033                 Express Edition      10.3.5500.0  
      No        
      Sql Server 2008 R2                        
                                  Client Tools Connectivity                1033                    
                     10.50.1600.1    No        
      Sql Server 2008 R2                        
                                  Client Tools Backwards Compatibility     1033                            
             10.50.1600.1    No        
      Sql Server 2008 R2                        
                                  Client Tools SDK                         1033              
                           10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services
    2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         G:\01.SQL Server 2008 R2 FullVersion\x64\setup\
      Installation edition:          STANDARD
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup
    Bootstrap\Log\20140327_005035\ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    False
      ENU:                           True
      ERRORREPORTING:                True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      IS,SSMS,ADV_SSMS,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL
    Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft
    SQL Server
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT AUTHORITY\SYSTEM
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          <empty>
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  True
      TCPENABLED:                    0
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup
    Bootstrap\Log\20140327_005035\ConfigurationFile.ini
    Detailed results:
      Feature:                       Integration
    Services
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management
    Tools - Complete
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management
    Tools - Basic
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync
    Framework
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed

    my summary log file information:
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068052700
      Exit facility code:            1212
      Exit error code:               1316
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-03-27 00:52:25
      End time:                      2014-03-27 00:56:09
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\SSCRuntime_Cpu32_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
    Machine Properties:
      Machine name:                  SEVALAL-PC
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Database Engine Services                 1033            
        Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         SQL Server Replication                   1033            
        Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Full-Text Search                         1033      
              Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSAS10_50.MSSQLSERVER          Analysis Services                        1033      
              Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSRS10_50.MSSQLSERVER          Reporting Services                       1033      
              Standard Edition     10.50.1600.1    No        
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL                Database Engine Services                 1033  
                  Express Edition      10.3.5500.0     No        
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL                SQL Server Replication                   1033
                    Express Edition      10.3.5500.0     No        
      Sql Server 2008 R2                                                       Client Tools Connectivity      
             1033                                      10.50.1600.1    No        
      Sql Server 2008 R2                                                       Client Tools Backwards Compatibility  
      1033                                      10.50.1600.1    No        
      Sql Server 2008 R2                                                       Client Tools SDK        
                    1033                                      10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         G:\01.SQL Server 2008 R2 FullVersion\x64\setup\
      Installation edition:          STANDARD
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    False
      ENU:                           True
      ERRORREPORTING:                True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      IS,SSMS,ADV_SSMS,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT AUTHORITY\SYSTEM
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          <empty>
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  True
      TCPENABLED:                    0
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\ConfigurationFile.ini
    Detailed results:
      Feature:                       Integration Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Complete
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Basic
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync Framework
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\SystemConfigurationCheck_Report.htm

  • SQL Server Express and Visual Studio 2013

    In February I installed Visual Studio 2013 Professional. Looking in the Control Panel at all my installed programs, I see that I have a bunch of SQL server-related programs loaded, from the 2013 install and also from installs of previous Visual Studio versions.
    I've never done a thing with SQL server express, and am completely clueless about using it. I've already wanted to take a crack at it but it always seemed too daunting, so I backed off. It seems, however, that over the years the integration of SQL Server Express
    with Visual Studio is getting more and more seamless. Here is a list of all the SQL Server-related programs on my computer, with the ones installed automatically from the Visual Studio 2013 install bolded so they'll stand out. What I'm wondering is if I have
    everything I need to use SQL Server Express with Visual Studio 2013:
    Microsoft SQL Server 2005                                                  
    Microsoft Corporation   11/4/2013
    Microsoft SQL Server 2005 Mobile [ENU] De...                     
    Microsoft Corporation   4/29/2007
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Se1Ver 2008 R2 Management ...                   
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Transact-SQL ...                    
    Microsoft Corporation   12/7/2011
    Microsoft SQL Server 2012 Command Line ...                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Data-Tier App Fr...              
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Express LocalDB                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Management Ob...               
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Native Client                        
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Transact-SQL Co...                    
    Microsoft Corporation   9/21/2012
    Microsoft SQL Server 2012 Transact-SQL Ser...            
    Microsoft  Corporation 2/10/2014
    Microsoft SQL Server 2012 T-SQL Language ...             
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server Compact 3.5 Design T...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Compact 3.5 SP2 ENU                       
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Compact 4.0SP1 ENU                        
    Microsoft Corporation   9/21/2012
     Microsoft SQL Se1Ver Data Tools - enu (11.1....                 
    Microsoft Corporation   5/19/2013
     Microsoft SQL Server Data Tools - enu (12.0....            
    Microsoft Corporation  2/10/2014
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...              
    Microsoft Corporation   5/19/2013
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...         
    Microsoft  Corporation 2/10/2014
     Microsoft SQL Server Database Publishing ...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Database Publishing ...                      
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Native Client                                      
    Microsoft Corporation   4/1/2011
    Microsoft SQL Server Setup Support Files (E...                    
    Microsoft Corporation   4/1/2011
    Microsoft SQL Se1Ver System CLR Types                             
    Microsoft Corporation   1217/2011
    Microsoft SQL Server VSS Writer                                         
    Microsoft Corporation   4/1/2011

    Hello,
    Please read the following resources:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
    http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to restore SQL Server 2008 database to SQL Server Express 2012

    How to restore SQL Server 2008 database to SQL Server Express 2012.
    I BACKED UP a SQL Server 2008 database from work, which runs the enterprise version of 2008, and I tried to RESTORE it to my new 64-Bit home PC which is running the new SQL Server Express 2012 64-Bit (Advanced Edition).
    But if fails. I get the following message text.
    Can anyone help me please. I thought restoring a 2008 database to the later version 2012 would be possible.
    Here is the error message. Thanks.
    TITLE: Microsoft SQL Server Management Studio
    Restore of database failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the backup, or use a
    backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)

    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the
    backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)
    Are you sure your database is SQL server 2008 from error message it seems your SQL server version is 2000.I guess you have multiple versions of SQL server.
    AFAIK you cannot restore backup of SQL server 2000 to 2012 directly .Restore it first to SQL 2008/2008R2 or 2005 then take backup again of new database created and then you would be able to restore it on 2012.Its kind of intermediate way
    Also make sure your DB size is less than 10 G as max DB size supported by Express edition is 10 G and if your DB size is more than 10 G restore will fail.
    You are also trying to restore enterprise DB backup on express edition so you will loose enterprise features on express edition
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for

  • Email Activity not sending emails for one domain - 10.1.3.4 MLR#10

    I have four domains in my BPELConsole. My evey BPEL process has CatchAll block and I'm sending email notification with fault details. Somehow, my BPEL processes from three domains are sending emails properly but myDomain4 is not sending emails even a

  • Can you open a keynote presentation in PowerPoint and vice versa?

    I've opened a powerpoint presentation in Keynote but had trouble opening a Keynote in Powerpoint.  I wasn't sure if it was just that particular keynote or is does it just not work.  I know some formatting sometimes get lost.  What's the quality like

  • PDF output in background

    Hi, I want to send mail in PDF format to the person specified in selection screen while running in background. The output is not coming in ALV rather it is coming as a simple report.  the report has top of page, header and the item level data. how ca

  • K7N2G-L & 9800Pro Problem

    I've done a search and found no helpful information. I'm having a lot of lock ups and I've replaced almost everything in my rig: 2500+ 2x256 pny 2700ddr ati 9800pro sb audigy antec 400w ps maxtor 120gb drive I've even tried lowering all of the timing

  • Can't download more than one iBook created with the same template

    Hi, I created 3 books in iBooks Author, using the same template. I uploaded these books to my server. I can dowload anyone of them to iPad, but when I try to download the second one, nothing happens: the first I downloaded is still there. I changed t