Self Training in SQL Server

Hi All,
Is there a way to train myself in the SQL server?. If yes, can anyone please tell me what to do.
Regards,
Harish

Hi Harish,
I echo all the recommendations you have been given so far. All the recommendations you have been given have different strengths meaning the different recommendations compliment each other and are not either/ or choices.
You've not mentioned which version of SQL Server you need to get trained up in. I recommend that you focus on SQL 2005 and SQL 2008. Most live systems out there (certainly in the UK are running SQL 2005), most managers who line manage SQL Server professionals are
aware of some of the advantges of upgrading to SQL 2008 such as improved Business Intelligence support. However I find when moving from client to client site that there is too much fear based on the past experience of migrating from SQL 2000 to SQL 2005,
where in fact there is much less effort involved in migrating from SQL 2005 to SQL 2008. The end result is there will be live SQL 2005 systems out there for a while.
Decide which SQL Server job role emphasis you want to specialise in there are 3; - Database Administrator, Database Developer and Business Intelligence Developer (skill sets between these 3 roles over lap).
I recommend chipping away at
Certification the following is the first one for an SQL Developer; -
MCTS Self-Paced Training Kit (Exam 70-433): Microsoft SQL Server 2008 Database Development ; -
http://www.amazon.com/MCTS-Self-Paced-Training-Exam-70-433/dp/0735626391/ref=sr_1_4?ie=UTF8&s=books&qid=1277577799&sr=1-4
(this is much more than a book which of course covers all the basics such as stored procedures and much more)
Purchase a copy of the developer's edition to put on your personal laptop; - SQL Server 2008, Developer Edition; -
http://www.amazon.com/SQL-Server-2008-Developer-Edition/dp/B001B8EZR4/ref=sr_1_1?ie=UTF8&s=software&qid=1277577956&sr=1-1
Install AdventureWorks 2008R2 RTM; -
http://msftdbprodsamples.codeplex.com/releases/view/45907
Please also check out; - http://sqlserverfaq.com/
I hope the above helps,
Kind Regards,
Kieran.
If you have found any of my posts helpful then please vote them as helpful. Kieran Wood PGD SoftDev (Open), MBCS http://uk.linkedin.com/in/bileeds

Similar Messages

  • SQL Server DBA  best training - DBA School In Hyderabad

    DBA SCHOOL PROVIDING EXCELLENT TRAINING FOR SQL SERVER DBA
    IT Professional are going to take classes, so you can learn practical knowledge here, you will learn more than what you are expecting
    DBA School has following course contents
    SQL SERVER 2005 ADMINISTRATION
    1.     Introduction to SQL Server 2005
    2.     Roles and Responsibilities of DBA
    3.     SQL Server 2005 Licensing and Pricing
    4.     System Design and Architecture
    5.     Overview of Database and Database Snapshots
    6.     Overview of SQL Server Objects
    7.     Transactions
    8.     SQL Server Partitions
    9.     Managing Security
    10.     Backup Fundamentals
    11.     Restoring Data
    12.     Replication
    13.     Disaster Recovery Solutions
    14.     Performance Tuning and Troubleshooting
    15.     DB Mail
    Course Fee is 6k Only
    For One Batch Max. 10 members Only
    Batches Starts From 8th Feb 2010
    Other Courses Available at DBA SCHOOL:
    1.Oracle 10g DBA
    2.Oracle 11g DBA
    3.Oracle APPS DBA
    4.PeopleSoft DBA
    5.PeopleSoft Technical
    6.PeopleSoft Functional(HRMS and FSCM)
    Contact Us:
    visit www.hyddbatraining.com/beta (use mozilla for open this site)
    DBA School
    E - Block, Flat No - 508
    Keerthi Apartments,
    Yosufguda Road(Opposite Huda Maitrivanam),
    DTDC Lane(First Left of Yosufguda Road),
    Yellareddy Guda, Ameerpet,
    hyderabad, Pin : 500016
    Email : [email protected]
    Mobile : +91-9966293445
    Phone: +91-40-30629104/040-66446847

    There's only one SQL server ...
    One SQL server ...
    One SQL Server ...
    I need to go milk a bull
    Earlier post is flagged for abuse.
    .... It is difficult to say whether this institute is a fraud or whether someone is deliberating slandering it. BEWARE.

  • Sql Server 2012 Clustering ?

    Dear Friends, I want to configure clustering for SQL Server 2012 on windows 2008 R2 Sp2. I have two big questions:
    1) Domain controller configuration is mandatory for SQL Server clustering?
    2) Please share any link "if possible share best one"
    Hopes you will support.
    Regards
    Irfan Ahmad

    Hi Irfan_Lhr,
    You post same question 3 times.Please avoid this practice on Forum, I  have merged the same threads  .
    When you setup VM/host for cluster, you require installing Windows Operating System in nodes and Domain Controller. And domain controller is necessary because of domain environment. About SQL Server clustering, for setting up domain environment, you should
    do the following things.
     •Installing Active Directory on Domain Controller;
    •Setting up DNS Server;
    •Joining Cluster Nodes in Domain Environment.
    You also need to note if there are no pre-existing Active Directory when you can deploy cluster nodes in an environment, there is detail about
    how to configure at least one of the cluster nodes as a domain controller.
    There is videos about setting up SQL Server 2008 cluster on Windows 2008, you can review them.
    http://www.sqlserver-training.com/sql-server-2008-clustering-on-windows-2008-video-2/-
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Bad query plan for self-referencing CTE view query and variable in WHERE clause. Is there way out or this is SQL Server defect?

    Please help. Thank you for your time and expertise.
    Prerequisites: sql query needs to be a view. Real view is more than recursion. It computes location path,  is used in JOINs and returns this path.
    Problem: no matter what I tried, sql server does not produce 'index seek' when using variable but does with literal.
    See full reproduction code below.
    I expect that query SELECT lcCode FROM dbo.vwLocationCodes l WHERE l.lcID = @lcID will seek UNIQUE index but it does not.
    I tried these:
    1. Changing UX and/or PK to be CLUSTERED.
    2. query OPTION(RECOMPILE)
    3. FORCESEEK on view
    4. SQL Server 2012/2014
    5. Wrap it into function and CROSS APPLY. On large outer number of rows this just dies, no solution
    but to no avail. This smells like a bug in SQL Server. I am seeking your confirmation.
    I am thinking it is a bug as variable value is high-cardinality, 1, and query is against unique key. This must produce single seek, depending if clustered or nonclustred index is unique
    Thanks
    Vladimir
    use tempdb
    BEGIN TRAN
    -- setup definition
    CREATE TABLE dbo.LocationHierarchy(
    lcID int NOT NULL ,
    lcHID hierarchyid NOT NULL,
    lcCode nvarchar(25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    lcHIDParent AS lcHID.GetAncestor(1) PERSISTED,
    CONSTRAINT PK_LocationHierarchy_lcID PRIMARY KEY NONCLUSTERED (lcID ASC),
    CONSTRAINT UX_LocationHierarchy_pltID_lcHID UNIQUE CLUSTERED (lcHID ASC)
    -- add some data
    INSERT INTO dbo.LocationHierarchy
    VALUES
    (1, '/', 'A')
    ,(2, '/1/', 'B')
    ,(3, '/1/1/', 'C')
    ,(4, '/1/1/1/', 'D')
    --DROP VIEW dbo.vwLocationCodes
    GO
    CREATE VIEW dbo.vwLocationCodes
    AS
    WITH ru AS
    SELECT
    lh.lcID
    ,lh.lcCode
    ,lh.lcHID
    ,CAST('/' + lh.lcCode + '/' as varchar(8000)) as LocationPath
    -- to support recursion
    ,lh.lcHIDParent
    FROM dbo.LocationHierarchy lh
    UNION ALL
    SELECT
    ru.lcID
    ,ru.lcCode
    ,ru.lcHID
    ,CAST('/' + lh.lcCode + ru.LocationPath as varchar(8000)) as LocationPath
    ,lh.lcHIDParent
    FROM dbo.LocationHierarchy lh
    JOIN ru ON ru.lcHIDParent = lh.lcHID
    SELECT
    lh.lcID
    ,lh.lcCode
    ,lh.LocationPath
    ,lh.lcHID
    FROM ru lh
    WHERE lh.lcHIDParent IS NULL
    GO
    -- get data via view
    SELECT
    CONCAT(SPACE(l.lcHID.GetLevel() * 4), lcCode) as LocationIndented
    FROM dbo.vwLocationCodes l
    ORDER BY lcHID
    GO
    SET SHOWPLAN_XML ON
    GO
    DECLARE @lcID int = 2
    -- I believe this produces bad plan and is defect in SQL Server optimizer.
    -- variable value cardinality is 1 and SQL Server should know that. Optiomal plan is to do index seek with key lookup.
    -- This does not happen.
    SELECT lcCode FROM dbo.vwLocationCodes l WHERE l.lcID = @lcID -- bad plan
    -- this is a plan I expect.
    SELECT lcCode FROM dbo.vwLocationCodes l WHERE l.lcID = 2 -- good plan
    -- I reviewed these but I need a view here, can't be SP
    -- http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/05/17/non-recursive-common-table-expressions-performance-sucks-1-cte-self-join-cte-sub-query-inline-expansion.aspx
    -- http://social.msdn.microsoft.com/Forums/sqlserver/en-US/22d2d580-0ff8-4a9b-b0d0-e6a8345062df/issue-with-select-using-a-recursive-cte-and-parameterizing-the-query?forum=transactsql
    GO
    SET SHOWPLAN_XML OFF
    GO
    ROLLBACK
    Vladimir Moldovanenko

    Here is more... note that I am creating table Items and these can be in Locations.
    I am trying LEFT JOIN and OUTER APLLY to 'bend' query into NESTED LOOP and SEEK. There has to be nested loop, 2 rows against 4. But SQL Server fails to generate optimal plan with SEEK. Even RECOMPILE does not help
    use tempdb
    BEGIN TRAN
    -- setup definition
    CREATE TABLE dbo.LocationHierarchy(
    lcID int NOT NULL ,
    lcHID hierarchyid NOT NULL,
    lcCode nvarchar(25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    lcHIDParent AS lcHID.GetAncestor(1) PERSISTED,
    CONSTRAINT PK_LocationHierarchy_lcID PRIMARY KEY NONCLUSTERED (lcID ASC),
    CONSTRAINT UX_LocationHierarchy_pltID_lcHID UNIQUE CLUSTERED (lcHID ASC)
    -- add some data
    INSERT INTO dbo.LocationHierarchy
    VALUES
    (1, '/', 'A')
    ,(2, '/1/', 'B')
    ,(3, '/1/1/', 'C')
    ,(4, '/1/1/1/', 'D')
    --DROP VIEW dbo.vwLocationCodes
    GO
    --DECLARE @Count int = 10;
    --WITH L0 AS (SELECT N FROM (VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) N (N))-- 10 rows
    --,L1 AS (SELECT n1.N FROM L0 n1 CROSS JOIN L0 n2) -- 100 rows
    --,L2 AS (SELECT n1.N FROM L1 n1 CROSS JOIN L1 n2) -- 10,000 rows
    --,L3 AS (SELECT n1.N FROM L2 n1 CROSS JOIN L2 n2) -- 100,000,000 rows
    --,x AS
    -- SELECT TOP (ISNULL(@Count, 0))
    -- ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) as Number
    -- FROM L3 n1
    --SELECT Number as itmID, NTILE(4)OVER(ORDER BY Number) as lcID
    --INTO dbo.Items
    --FROM x
    ----ORDER BY n1.N
    --ALTER TABLE dbo.Items ALTER COLUMN itmID INT NOT NULL
    --ALTER TABLE dbo.Items ADD CONSTRAINT PK PRIMARY KEY CLUSTERED (itmID)
    CREATE TABLE dbo.Items (itmID int NOT NULL PRIMARY KEY, lcID int NOT NULL)
    INSERT INTO dbo.items
    VALUES(1, 1)
    ,(2, 3)
    GO
    CREATE VIEW dbo.vwLocationCodes
    AS
    WITH ru AS
    SELECT
    lh.lcID
    ,lh.lcCode
    ,lh.lcHID
    ,CAST('/' + lh.lcCode + '/' as varchar(8000)) as LocationPath
    -- to support recursion
    ,lh.lcHIDParent
    FROM dbo.LocationHierarchy lh
    UNION ALL
    SELECT
    ru.lcID
    ,ru.lcCode
    ,ru.lcHID
    ,CAST('/' + lh.lcCode + ru.LocationPath as varchar(8000)) as LocationPath
    ,lh.lcHIDParent
    FROM dbo.LocationHierarchy lh
    JOIN ru ON ru.lcHIDParent = lh.lcHID
    SELECT
    lh.lcID
    ,lh.lcCode
    ,lh.LocationPath
    ,lh.lcHID
    FROM ru lh
    WHERE lh.lcHIDParent IS NULL
    GO
    -- get data via view
    SELECT
    CONCAT(SPACE(l.lcHID.GetLevel() * 4), lcCode) as LocationIndented
    FROM dbo.vwLocationCodes l
    ORDER BY lcHID
    GO
    --SET SHOWPLAN_XML ON
    GO
    DECLARE @lcID int = 2
    -- I believe this produces bad plan and is defect in SQL Server optimizer.
    -- variable value cardinality is 1 and SQL Server should know that. Optiomal plan is to do index seek with key lookup.
    -- This does not happen.
    SELECT lcCode FROM dbo.vwLocationCodes l WHERE l.lcID = @lcID-- OPTION(RECOMPILE) -- bad plan
    -- this is a plan I expect.
    SELECT lcCode FROM dbo.vwLocationCodes l WHERE l.lcID = 2 -- good plan
    SELECT *
    FROM dbo.Items itm
    LEFT JOIN dbo.vwLocationCodes l ON l.lcID = itm.lcID
    OPTION(RECOMPILE)
    SELECT *
    FROM dbo.Items itm
    OUTER APPLY
    SELECT *
    FROM dbo.vwLocationCodes l
    WHERE l.lcID = itm.lcID
    ) l
    -- I reviewed these but I need a view here, can't be SP
    -- http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/05/17/non-recursive-common-table-expressions-performance-sucks-1-cte-self-join-cte-sub-query-inline-expansion.aspx
    -- http://social.msdn.microsoft.com/Forums/sqlserver/en-US/22d2d580-0ff8-4a9b-b0d0-e6a8345062df/issue-with-select-using-a-recursive-cte-and-parameterizing-the-query?forum=transactsql
    GO
    --SET SHOWPLAN_XML OFF
    GO
    ROLLBACK
    Vladimir Moldovanenko

  • I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    Check this thread where people have already given their suggestion on learning SSIS
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f2cc1cf3-204d-454a-a189-47df87a3aa23/i-want-to-learn-ssis?forum=sqlintegrationservices
    I would suggest to go for You tube videos (type learn SSIS or begin SSIS step by step) you will get lot of good tutorials to start with.
    Happy Learning!!
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • SQL Server 2008 self-signed certificate is 1024bit or 2048bit?

    When there is no user defined certificate available, SQL Server will generate a self-signed certificate when service starts, We have a tool scans and finds that in SQL 2005 the self-signed certificate is 1024bit,  does someone know the default self-signed
    certificate is still 1024bit or is it 2048bit in SQL 2008? Thanks a lot!!!

    I will begin my answer by making an emphasis that the best way to protect your data in-transit is using a 2048 bit certificate signed by a trusted certificate authority (CA) instead of relying on the self-signed certificate created by SQL Server.
     Please remember that the self-signed certificate created by SQL Server usage for data in-transit protection was designed as a mitigation against passive traffic sniffers that could potentially obtain SQL Server credentials being transmitted
    in cleartext, but nothing more. Think of it as a mitigation against a casual adversary.
     The self-signed certificate usage was not intended to replace real data in-transit protection using a certificate signed by a trusted CA and encrypting the whole communication channel. Remember, if it is self-signed, it is trivial to spoof.
    After making this clarification, the self-signed certificate generated by SQL Server uses a 1024 bit key, but that size may be subject to change in future versions of the product. Once again, I would like to strongly discourage relying on the self-signed
    certificate created by SQL Server for data in transit transmission.
    BTW. Azure SQL Database uses a 2048 certificate issued by a valid certificate authority.
    I hope this information helps,
    -Raul Garcia
     SQL Server Security
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Weblogic Server self-training resources

    Could anyone point me in the direction some good self-training resources (books, CBT's, etc.) for Weblogic Server - preferably 8.1? We're getting our feet wet with a third-party app that incorporates Weblogic Server 8.1, but we have no experience with it.
    Thanks for any help you can give me.

    http://e-docs.bea.com/wls/docs81/

  • Create MS SQL Server 2014 instance for TSQL2012 sample database Training kit (70-461)

    Hi,
    I just bought the Training kit (70-461) Querying Microsoft SQL server 2012. I downloaded Microsoft SQL Server 2014. I have also downloaded the script for the sample database -
    TSQL2012.sql.
    Basically I want to set up the sample database and practice my SQL queries. How do I log into
    Microsoft SQL Server 2014? Basically I am doing this on my home computer. It is asking me for Server type, Server name, and Authentication. Do I have to set up a server instance to run and create the sample database? How?
    Thanks.
    Peter

    Do you see anything in the Server Name at all?
    So, in the first drop down you need to select Database Engine.
    In the second (for Server Name) if you see anything, then try selecting it.
    If there is nothing, try methods described in this article
    http://sqlserver-help.com/2011/06/19/help-whats-my-sql-server-name/
    to find the actual name.
    Then, try choosing Windows Authentication and try connecting. If this would not work, then you do need to try using sa and sa's password. If there is no way to find that sa password, then perhaps it's better to clearly uninstall and re-install. If you want,
    I'll move your thread into either 'Getting Started' or Data Access forum as it doesn't seem to be related with Transact SQL.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • The Best SQL Server DBA Training at DBA School In Hyderabad

    SQL Server DBA Training at DBA School
    Faculty: working in Top MNC company.
    Fees: Only 5000/- (batch max. 10 members)
    Duration: 1 month.
    SQL Server Coures Contents:
    1.     Introduction to SQL Server 2005
    2.     Roles and Responsibilities of DBA
    3.     SQL Server 2005 Licensing and Pricing
    4.     System Design and Architecture
    5.     Overview of Database and Database Snapshots
    6.     Overview of SQL Server Objects
    7.     Transactions
    8.     SQL Server Partitions
    9.     Managing Security
    10.     Backup Fundamentals
    11.     Restoring Data
    12.     Replication
    13.     Disaster Recovery Solutions
    14.     Performance Tuning and Troubleshooting
    15.     DB Mail
    Here Mr. Satya seelam has 8 years experiense in United States. You can get practical knowledge through experts. They are providing
    Excellent and Certified training
    Very Good Lab Facility,
    Real time demos,
    case studies and projects.
    Who had trained here they are placed in foreign and domestic countries.
    By Satya seelam 8 years experience in United States
    Contact Us
    DBA School
    E - Block, Flat No - 508
    Keerthi Apartments,
    Yosufguda Road(Opposite Huda Maitrivanam),
    DTDC Lane(First Left of Yosufguda Road),
    Yellareddy Guda, Ameerpet,
    Hyderabad, Pin: 500016
    Email: [email protected] Mobile: +91-9966293445 Phone: +91-40-30629104, 04066446847
    VISIT: www.hyddbatraining.com/beta (Use Mozilla for opening the website.)

    You've got to be kidding.
    From what I've seen of your graduates they are barely able to recognize a command line.
    Anyone that pays you money to take one of your classes would get more for their hard earned rupees by just tossing them into the Ganges.
    At least someone downstream would benefit.
    You should apologize for your misrepresentation and your spam.

  • Are there any self-service tools that enable business users to insert, update, and delete data in SQL Server without using SSMS?

    Our IT department spends way too much time maintaining simple reference tables that could easily be maintained by business users, if they had some simple tools that gave them limited access to only the tables they need.  Looking for something other
    than SSMS or MS Access.  These are not tech-savvy users.  They dabble in Excel and Access, and they know their data pretty well, but wouldn't be comfortable with SQL.  Generally the data would initially be in Excel (but not always).

    Create a separate FileGroup on your UAT/pre-prod environment for those Business Users and allocate limited space for them to read/write data here. I expect they create their own reference tables here which are small enough in size. SQL Server does not have
    concept of Quota like Oracle has, so you need to tie back FG with Data Steward user groups using separate mechanism to make sure they have limited rights here. 
    As IT - you verify business changes every sprint and push them to Production. 
    Best Regards
    Shrikant Kulkarni 
     

  • Encryption strenght with SQL Server self-signed certificate

    I have SQL Server 2008 R2 Standard (64-bits) on Windows Server 2008 R2 Enterprise (64-bits) and client computers running on Windows 7 Professional (64-bits). If I set "Encrypt=True;TrustServerCertificate=True;" in connection strings, I'm wondering
    what encryption level or strength (40bits, 128bits, or other) are the connections getting?
    Microsoft is not clear about this topic:
    "The level of encryption used by SSL, 40-bit or 128-bit, depends on the version of the Microsoft Windows operating system that is running on the application and database computers."
    I appreciate any comment.

    Please see the discussion thread on this other post:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ee159a8b-0b07-4637-83e7-d0487fc63a9e/which-cipher-current-supported-after-force-encryption?forum=sqlsecurity
    Hopefully this information will help.
    -Raul Garcia
      SQL Server Security
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Free Ebook: Introducing Microsoft SQL Server 2008

    Hello,
    I am about to start studying for the upgrade to SQ Lserver 2008 exam 70-453. i completed my MCITP SQL server 2005 cert last year.
    I have read a few forums on the topic, and some have suggested reading the free ebook entitled "Introducing Microsoft SQL Server 2008" (not to be confused with "Introducing Microsoft SQL Server 2008 R2")
    Microsoft and other sites link the book here:-
    http://csna01.libredigital.com/?urss1q2we6
    I cannot access this link without receiving errors. (possibly firewall related)
    I have successfully found the 2008 (R2) free ebook however i need the 2008 book to read for the 70-453 exam.
    Could somebody please either send me the .pdf file (i will provide email) or send me a link that works?
    Alternatively, will the R2 book suffice for my 70-453 studies? are there SQL 2008 features that are not repeated in the writings of the R2 book?
    Thanks,
    Any other tips fro exam 70-453 are welcomed.

    The book is linked here:
    http://www.computerbooksonline.com/n2tech/index.php/free-ebook-offer-introducing-microsoft-sql-server-2008
    But if you follow the link, which points to
    http://go.microsoft.com/fwlink/?LinkId=189147, it actually downloads the R2 version instead of the original book depicted on that page. I suspect that the original book has been superseded, and the free download only applies to the latest version.
    I have taken a look at the book, and it seems to concentrate on "what's new in the R2 version", so I'm afraid that it won't be terribly useful for your goal of preparing 70-453.
    I suggest that you consider the Self-Paced Training Kit for 70-432, which should cover the knowledge that you require for the TS part of the 70-453 upgrade exam:
    http://www.microsoft.com/learning/en/us/Book.aspx?ID=12858&locale=en-us

  • Microsoft SQL Server 2012 version

    I am looking for an online course under Microsoft SQL Server 2012 that is self paced. I am also looking for training that has screen demonstrations and simulation exercises, not just videos to watch.
    I heard through the grapevine this website, learnprosql dot com, offers this type of service.  Has anyone tried their training? They seem comprehensive and complete.
    Any feedbacks from them?

    Please visit :
    http://msdn.microsoft.com/en-us/library/hh231699.aspx
    http://www.w3computing.com/sqlserver/
    http://www.lynda.com/SQL-Server-tutorials/Querying-Microsoft-SQL-Server-2012/156769-2.html
    http://sqlserver2012tutorial.com/
    Regards, Pradyothana DP http://www.dbainhouse.blogspot.in/ Please Mark This As Answer if it solved your issue.

  • Will I lose out by learning an earlier version of SQL Server?

    At work we use SQL Server 2008 R2 from what I can tell and I use it to do many DB queries. I have been asked to select a course available through Skillport and notice that my only selections are for SQL Server 2008, 2008 R2 and 2012. From what I can see
    online, the latest version is 2014. Would I be at a disadvantage learning any previous version and would it be better to go for 2012 over 2008 R2 (even though that is what it appears we have where I work)? The course tracks have the titles of "SQL Server
    2008 R2: Implementation and Maintenance" and "SQL Server 2008 R2: Database Development" vs. "SQL Server 2012: Database Administration" and "SQL Server 2012: Querying". I have the feeling that while the names are different
    the content is similar except for the different versions they are dealing with. - Thanks, Ben

    Hi Ben,
    Why are you attending the training?
    Are you attending it so that it should help you to do your day-to-day work? if yes then go for SQL 2008 R2.
    Are you attending it so that you are better placed to work on the next version of SQL when your company upgrades or when you change jobs? Then go for 2012.
    Which ever version you learn you wont lose anything. If you become an expert in one version of SQL then you can easily upgrade yourself by self-learning and with the help of wonderful SQL Community out there.
    Note: Few months back I was forced to learn SQL 7.0 (Yes SQL 7.0) so there is nothing like if you learn 2008/r2/2012 you will lose something just because 2014 has released.
    From Certification stand point AFAIK SQL MCSE certification now doest have different exams for 2012 & 2014. Its a combined exam which will certify you for both 2012 and 2014. So if you are to take MCSE certification you better learn 2012
    and 2014 concepts.
    http://borntolearn.mslearn.net/btl/b/weblog/archive/2014/03/10/certification-update-sql-server-2014.aspx
    Another option for you is to learn 2008 take certification then upgrade yourself to 2012/2014. Yes its a bit long certification path, but I bet you will never regret.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Having issues with getting SQL Server Express to start services and run.

    Good afternoon everyone,
    I have been working on a 2012 R2 server getting ready to move databases to new hardware.  I had SQL Server Express 2008 R2 running on this server with no issues.  I was handed another software package that ran SQL Express 2012 and had to for compatibility
    reasons.  I have had multiple versions run on Server 2012 before with no issues.  This time, not so lucky.  When the installer from the updated package put on SQL Express 2012 it completed with errors ( error log posted at the end of post) and
    would not allow me to run software.  I then tried the db that I had installed on 2008 R2 and it also gave the  same error as the 2012 version.  IN basic terms the required services attempted to start and shut back down again.  I have received
    Error 1068 about database handles and error %%945.   I know this db has plenty of space and the permissions were added for the Admin account to access both db's.  I then uninstalled both versions and tried again, with the same errors listed when
    I tried to start the services.     I am thinking that a clean install would fix the issue however I am not certain what files/folders/reg entries need to be deleted or modified.  I have researched all the errors I can find, however I am very
    new with SQL anything so I know I am missing something.   I also do not have an "E:" drive on this server (not sure why it is going there). Input would be very welcome as I am not certain where to go from here. 
    Thanks,
    Matt
    Error Log follows, server and domain names have been blacked out with ****.
    2015-04-15 11:57:55.16 Server      Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) 
    Dec 28 2012 20:23:12 
    Copyright (c) Microsoft Corporation
    Express Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    2015-04-15 11:57:55.16 Server      (c) Microsoft Corporation.
    2015-04-15 11:57:55.16 Server      All rights reserved.
    2015-04-15 11:57:55.16 Server      Server process ID is 4104.
    2015-04-15 11:57:55.16 Server      System Manufacturer: 'HP', System Model: 'ProLiant ML350p Gen8'.
    2015-04-15 11:57:55.16 Server      Authentication mode is WINDOWS-ONLY.
    2015-04-15 11:57:55.16 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\Log\ERRORLOG'.
    2015-04-15 11:57:55.17 Server      The service account is 'NT AUTHORITY\LOCAL SERVICE'. This is an informational message; no user action is required.
    2015-04-15 11:57:55.17 Server      Registry startup parameters: 
    -d C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\master.mdf
    -e C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\Log\ERRORLOG
    -l C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\mastlog.ldf
    2015-04-15 11:57:55.17 Server      Command Line Startup Parameters:
    -s "SQLEXPRESS"
    2015-04-15 11:57:55.48 Server      SQL Server detected 1 sockets with 6 cores per socket and 12 logical processors per socket, 12 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message;
    no user action is required.
    2015-04-15 11:57:55.48 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2015-04-15 11:57:55.48 Server      Detected 8157 MB of RAM. This is an informational message; no user action is required.
    2015-04-15 11:57:55.48 Server      Using conventional memory in the memory manager.
    2015-04-15 11:57:55.68 Server      This instance of SQL Server last reported using a process ID of 7840 at 4/15/2015 11:57:47 AM (local) 4/15/2015 3:57:47 PM (UTC). This is an informational message only; no user action is required.
    2015-04-15 11:57:55.68 Server      Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message
    only. No user action is required.
    2015-04-15 11:57:55.69 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2015-04-15 11:57:55.72 Server      Software Usage Metrics is disabled.
    2015-04-15 11:57:55.73 spid5s      Starting up database 'master'.
    2015-04-15 11:57:55.79 spid5s      20 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
    2015-04-15 11:57:55.79 spid5s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
    2015-04-15 11:57:55.80 Server      CLR version v4.0.30319 loaded.
    2015-04-15 11:57:55.86 spid5s      Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
    2015-04-15 11:57:55.89 Server      Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
    2015-04-15 11:57:55.91 spid5s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
    2015-04-15 11:57:55.91 spid5s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
    2015-04-15 11:57:55.94 spid5s      SQL Trace ID 1 was started by login "sa".
    2015-04-15 11:57:55.94 spid5s      Server name is '********\SQLEXPRESS'. This is an informational message only. No user action is required.
    2015-04-15 11:57:55.96 spid5s      Failed to verify Authenticode signature on DLL 'C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\Binn\ftimport.dll'.
    2015-04-15 11:57:55.96 spid5s      Starting up database 'msdb'.
    2015-04-15 11:57:55.96 spid9s      Starting up database 'mssqlsystemresource'.
    2015-04-15 11:57:55.96 spid5s      Error: 17204, Severity: 16, State: 1.
    2015-04-15 11:57:55.96 spid5s      FCB::Open failed: Could not open file e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\MSDBData.mdf for file number 1.  OS error: 3(The system cannot find the path specified.).
    2015-04-15 11:57:55.96 spid5s      Error: 5120, Severity: 16, State: 101.
    2015-04-15 11:57:55.96 spid5s      Unable to open the physical file "e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\MSDBData.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
    2015-04-15 11:57:55.96 spid5s      Error: 17207, Severity: 16, State: 1.
    2015-04-15 11:57:55.96 spid5s      FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf'.
    Diagnose and correct the operating system error, and retry the operation.
    2015-04-15 11:57:55.96 spid5s      File activation failure. The physical file name "e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf" may be incorrect.
    2015-04-15 11:57:55.99 spid9s      The resource database build version is 11.00.3000. This is an informational message only. No user action is required.
    2015-04-15 11:57:56.02 spid12s     A self-generated certificate was successfully loaded for encryption.
    2015-04-15 11:57:56.03 spid12s     Server is listening on [ 'any' <ipv6> 53345].
    2015-04-15 11:57:56.03 spid12s     Server is listening on [ 'any' <ipv4> 53345].
    2015-04-15 11:57:56.03 spid12s     Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SQLEXPRESS ].
    2015-04-15 11:57:56.03 spid12s     Server named pipe provider is ready to accept connection on [ \\.\pipe\MSSQL$SQLEXPRESS\sql\query ].
    2015-04-15 11:57:56.04 spid12s     Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806.
    This is an informational message only. No user action is required.
    2015-04-15 11:57:56.04 Server      SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not be possible until a SPN is registered for the SQL Server service. This is an informational
    message. No user action is required.
    2015-04-15 11:57:56.04 Server      The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/********.****.local:SQLEXPRESS ] for the SQL Server service. Windows return code: 0xffffffff, state: 53.
    Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been
    manually registered.
    2015-04-15 11:57:56.04 Server      The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/********.****.local:53345 ] for the SQL Server service. Windows return code: 0xffffffff, state: 53. Failure
    to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually
    registered.
    2015-04-15 11:57:56.09 spid9s      Starting up database 'model'.
    2015-04-15 11:57:56.10 spid9s      Error: 17204, Severity: 16, State: 1.
    2015-04-15 11:57:56.10 spid9s      FCB::Open failed: Could not open file e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\model.mdf for file number 1.  OS error: 3(The system cannot find the path specified.).
    2015-04-15 11:57:56.10 spid9s      Error: 5120, Severity: 16, State: 101.
    2015-04-15 11:57:56.10 spid9s      Unable to open the physical file "e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\model.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
    2015-04-15 11:57:56.10 spid9s      Error: 17207, Severity: 16, State: 1.
    2015-04-15 11:57:56.10 spid9s      FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\modellog.ldf'.
    Diagnose and correct the operating system error, and retry the operation.
    2015-04-15 11:57:56.10 spid9s      File activation failure. The physical file name "e:\sql11_main_t.obj.x86release\sql\mkmastr\databases\objfre\i386\modellog.ldf" may be incorrect.
    2015-04-15 11:57:56.10 spid9s      Error: 945, Severity: 14, State: 2.
    2015-04-15 11:57:56.10 spid9s      Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space.  See the SQL Server errorlog for details.
    2015-04-15 11:57:56.10 spid9s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
    

    Hi HMLunger,
    Did you install the SQL Server instance successfully? If not, please help to post the summary and detail logs for analysis. By default, the logs can be found in: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    However, if you fail to start SQL Server Express service after successfully installing SQL Server,
    you might have to change the paths of the files by running the following scripts from the command prompt. For more details, please review this similar
    thread.
    NET START MSSQL$SQLEXPRESS /f /T3608
    SQLCMD -S .\SQLEXPRESS
    ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    go
    exit;
    ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    NET STOP MSSQL$SQLEXPRESS
    In addition, you can follow the steps in this KB article to uninstall SQL Server.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

Maybe you are looking for

  • Ipod touch 1st generation won't hold charge

    ipod touch 1st generation will not hold a charge?

  • QuickTime Version 7.0d0 Error Message Upon Installation

    Hi, Once I have downloaded the latest iTunes and installed it, I get an error message upon trying to open it which reads as follows; QuickTime version 7.0d0 is installed, iTunes requires QuickTime Version 7.1.3 or later. Please reinstall iTunes. At f

  • Qosmio F30-117: How to switch Bluetooth on?

    how to switch blue tooth on, on qosmio f30-117. As software is preinstalled for blue tooth. Message was edited by: jdukhi

  • Correspondance

    hi all how to use correspondence concept to view reports?  and if "x" is both vendor and customer to particular company code how to view both the vendor and customer balances together, and which is the appropriate method to reconcile this account to

  • Message Mapping - Reuse

    We have two R/3 Systems. We are sending IDOCs to our Supplier Network. The IDOC Types are same in both the above systems. In this case can I use the same Message Mappings for my two scenarios? (Having the Direcotry component separate) Thanks