Unconfigured Ad Widget

Collapse

Is there a QUICK start way to learn about MS SQL scripting?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stilly
    I need a LIFE!!
    • Jul 2009
    • 10685

    Is there a QUICK start way to learn about MS SQL scripting?

    I know what a query is, it is a search string that is entered to pull out data from a database file or several files.

    The last queries that I ran were in MS access 2000...

    NOw though I want to get into MS SQL but I see sites all over the place, is there one decent site that I can learn from or that is a great resource for noobs and advanced users alike?

    My goal is to get to be a power user of sql in as fast as possible. having desk/book references is fine, and of those cool BIBLE books are fine too, I just gotta get up to speed and the more I can learn sooner the better.
    7 Billion people on the planet. They aint ALL gonna astronauts. Some will get hit by trains...

    Need GOOD SS pins to clean your brass? Try the new and improved model...



    And remember- 99.9% of the lawyers ruin it for the other .1%...
  • #2
    ocabj
    Calguns Addict
    • Oct 2005
    • 7924

    I'd recommend learning MySQL or PostgreSQL since there's plenty of extensive (free) documentation out there, such as http://dev.mysql.com/doc/

    Once you learn any SQL, you can pretty much apply it to other variations since syntax and semantics are very similar.

    Plus, MySQL and PostgreSQL are fairly lightweight and easy to compile (or install via binaries) on your local system so you can just run the SQL daemon locally.

    Distinguished Rifleman #1924
    NRA Certified Instructor (Rifle and Metallic Cartridge Reloading) and RSO
    NRL22 Match Director at WEGC

    https://www.ocabj.net

    Comment

    • #3
      stilly
      I need a LIFE!!
      • Jul 2009
      • 10685

      Cool thanks.

      I thought that most sql was the same, just like a little different under the hood prolly. Then I heard about MS and now Tsql... yeah whatever.

      I will check out the link.
      7 Billion people on the planet. They aint ALL gonna astronauts. Some will get hit by trains...

      Need GOOD SS pins to clean your brass? Try the new and improved model...



      And remember- 99.9% of the lawyers ruin it for the other .1%...

      Comment

      • #4
        ldivinag
        In Memoriam
        • Oct 2005
        • 4858

        SQL is SQL.

        it's when a vendor decides to add their own add-ons to it that screws people up.

        for example, when i was working with an MS SQL box, there was no "LIMIT x,y" clause.

        meaning, if i wanted the fiftieth row, but i only want 50-80, it would be something like

        SELECT * FROM TABLE LIMIT 50, 30

        well MSSQL doesnt have anything like it. MySQL did, which was my DBMS of choice since i was working with the AMP stack.


        OP, what exactly, are you looking at? is it for a new job?
        leo d.

        Comment

        • #5
          smird
          CGN/CGSSA Contributor
          CGN Contributor
          • May 2009
          • 8308

          I did one of those Sql in 24hours books, to get the basics. Then a ton of googling to get answers to specific things.

          Also if you use SQL sever management studio, it's a lot like access.

          Comment

          • #6
            Corbin Dallas
            CGN/CGSSA Contributor - Lifetime
            CGN Contributor - Lifetime
            • May 2006
            • 6173

            Sams teach yourself mysql in 24 hours or the 21 days version.

            Then join stackoverflow.com to ask the pros.
            NRA Life Member and Certified Instructor: Pistol - Rifle - Shotgun - PPITH - PPOTH - NRA Certified RSO

            WTB the following - in San Diego
            --Steyr M357A1 357SIG
            --Five Seven IOM (round trigger guard)

            Never forget - השואה... לעולם לא עוד.

            Comment

            • #7
              bigmike82
              Bit Pusher
              CGN Contributor
              • Jan 2008
              • 3876

              Originally posted by ocabj
              I'd recommend learning MySQL or PostgreSQL since there's plenty of extensive (free) documentation out there, such as http://dev.mysql.com/doc/

              Once you learn any SQL, you can pretty much apply it to other variations since syntax and semantics are very similar.

              Plus, MySQL and PostgreSQL are fairly lightweight and easy to compile (or install via binaries) on your local system so you can just run the SQL daemon locally.
              I gotta disagree with this.

              SQL Server, unfortunately, is a completely different beast than MySQL or Postgres. Beyond the very basic 'select * from table' semantics, you're in a completely different environment. MySQL lends itself to nice, simple, easy to understand queries that actually make sense. SQL Server? ****, if you're not writing a dozen lines of SQL you're doing it wrong. It's totally bat**** crazy.

              If your job is SQL Server oriented, get a TSQL and SQL Server book and read it. Don't start with MySQL, you'll only get confused and bitter at Microsoft.
              -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

              Comment

              • #8
                stonith3901
                Member
                • Jul 2012
                • 175

                Or get on the other bandwagon of noSQL.

                Comment

                • #9
                  Charger Mark
                  Member
                  • Dec 2008
                  • 227

                  If you know someone with a .edu email account, you can down load MS SQL Server 2012 or 2008 R2 from dreamspark.com. I'm going to play around with 2012 w/business intelligence to practice reporting once I finish applying to grad schools. Microsoft has a sample database called Adventureworks for educational purposes. There are lots of tutorials online for it. Check out YouTube and http://www.brentozar.com/sql-server-training-videos/ and http://msdn.microsoft.com/en-us/library/ms187731.aspx

                  Good luck!
                  Last edited by Charger Mark; 04-27-2013, 11:45 PM.

                  Comment

                  Working...
                  UA-8071174-1