Best SQL beginner Resources?

I know there are a few SQL knowledgeable people here in the PowerShell group. I'm starting to use SQL to track user\group\workstation migrations between domains. Any advice on some good beginner resources? Books, youtube channels, pluralsight cources etc.. My focus will be more PowerShell SQL manipulation, however I bet know more about SQL in general will help.
This topic first appeared in the Spiceworks Community

Thanks everybody.
First off, I abbreviated the catch portion for the
sake of brevity. I should have mentioned that.
I too, was under the impression that closing the
connection would release the related ResultSet and
Statement resources. However, another guy in my
group is telling me that I'm wrong. Additionally,
there is an event that took place today which spawned
all of this. The database guy called me to complain
that my app had a ton of open connections to the
database. I've been checking the code all day to
look for any connections that were not explicitly
closed. I did find one, but it shouldn't have lead
to the scale of the problem.
On the other hand, I did have a bunch of
PreparedStatements, Statements and a few ResultSets
that were not closed. I've been cleaning them up as
I go along hoping that will help.
However, if closing a Connection does indeed close
ResultSets and Statements, I may be barking up the
wrong tree.It's also possible I'm wrong. Or that the driver you're using has bugs or does not properly adhere to the contracts. I'm absolutely certain that closing a Statement closes a ResultSet, it's in both the ResultSet and Statement documentation. In fact, many operations in Statement close any existing ResultSet before making a new one.
I don't see at the moment anywhere in Connection that mentions if it closes Statements.

Similar Messages

  • Best absolute beginner book

    Hi eveyrone,
    I need opinions here... I would like to know what the best ABSOLUTE beginner book would be, for Java - in your opinion. I've been messing with Java for the past couple days.. and haven't got very far.
    I have used Visual Basic in the past. I do not know C/C++.
    Thanks for the opinions!
    -Jonzo

    There's no absolute best. A lot of it depends on the individual's style, etc.
    All of the following should be decent. Check them out and find out which ones work best for you.
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.

  • PI 7.11 - SXI_CACHE Issue - SQL 0904 - Resource Limit Exceeded

    Hi PI & IBM I Gurus,
    We are having the SXI_CACHE issue in our PI 7.11 SPS04 system. When we try to do the delta cache refresh through SXI_CACHE, it is returning the error SQL 0904 - Resource limit exceeded. When we try to do the full cache refresh, it is getting the issue 'Application issue during request processing'.
    We have cleaned up the SQL Packages with DLTR3PKG command, which did not resolve the issue. We recently performed a system copy to build the QA instance and I observed that the adapter engine cache for the development is presented in the QA instance and removed that cache from there.
    I am not seeing the adapter engine connection data cache in our PI system. The adapter engine cache is working fine.
    All the caches are working fine from the PI Administration page. The cache connectivity test is failing with the same error as I mentioned for the SXI_CACHE.
    Please let me know if you have encountered any issue like this on IBM I 6.1 Platform.
    Your help is highly appreciated.
    Thanks
    Kalyan

    Hi Kalyan,
    SQL0904 has different reason codes ...
    Which one are you seeing ?
    Is the SQL pack really at its boundary of 1GB ?
    ... otherwise, it is perhaps a totally different issue ... then DLTR3PKG cannot help at all ...
    If you should see this big SQL Package, you should use PRTSQLINF in order to see if there is more or less over and over the same SQL in, just with different host variables or so ...
    If the last point should be the case, I would open a message with BC-DB-DB4 so that they can check how to help here or to talk to the application people to behave a bit different ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

  • Best new beginner book out there?

    What's the best beginner book out there in your collective opinions? Thanks.
    Let me obviously clarify.....for "Oracle".
    Message was edited by:
    user447635

    As example, if you need to learn basic SQL then there is the Apess book on Oracle SQL
    by the late Lex de Haan which was pretty good. I do not know if it is still in print.An excellent recommendation as a tutorial to Oracle SQL and SQL*Plus, and it is still in print. An introductory tutorial and good typing practice at that, but not a reference as one review complains. For that I would print PDFs of the fine manuals.
    Beginning Oracle Programming is a sort of Concepts Guide for dummies, and this is no small achievement. Adds to the readability and the when and why to use features that is often lacking in the documentation.
    Ultimately you want to know how to navigate the SQL Reference it will save you and the database a lot of effort in the long run.

  • More Java in SQL: Viewing resources

    Okay, I'm trying to load and use apache's soap.jar into my schema from the HTML DB SQL Command Processor. This is the same jar that I have been using within JDeveloper during testing.
    The resource seems to load properly, but when I try to reference the classes of the org.apache.soap package, they cannot be found. Can anyone see something I'm missing in my process? Otherwise, does anyone know how to access more information of the resources that have been loaded into the schema (packages, etc.)?
    Thanks a bunch in advance,
    Jonathan
    Process steps below:
    (The jar is stored in a table called file_holder with a blob field called file_lob).
    1) Create the Java resource object:
    create or replace and resolve java resource named "soap" using blob
       select file_lob from file_holder where filename = 'soap.jar';2) Check to make sure it exists and is valid:
    OBJECT_NAME     SUBOBJECT_NAME     OBJECT_ID     DATA_OBJECT_ID     OBJECT_TYPE     CREATED     LAST_DDL_TIME     TIMESTAMP     STATUS     TEMPORARY     GENERATED     SECONDARY
    soap     -      273057     -      JAVA RESOURCE     18-AUG-05     18-AUG-05     2005-08-18:15:38:58     VALID     N     N     N3) Try to create a Java source using the JAR:
    create or replace and compile java source named "JavaTest" as
    import org.apache.soap.SOAPException;
    public class JavaTest
      public static int returnOne()
           SOAPException se = new SOAPException("test","test");
           return 1;
    };4) Check errors. =/
    select * from user_errors where name = 'JavaTest';
    NAME     TYPE     SEQUENCE     LINE     POSITION     TEXT     ATTRIBUTE     MESSAGE_NUMBER
    JavaTest     JAVA CLASS     1     0     0     ORA-29535: source requires recompilation     ERROR     0
    JavaTest     JAVA SOURCE     1     0     0     JavaTest:1: cannot resolve symbol     ERROR     0
    JavaTest     JAVA SOURCE     2     0     0     symbol : class SOAPException      ERROR     0
    JavaTest     JAVA SOURCE     3     0     0     location: package soap     ERROR     0
    JavaTest     JAVA SOURCE     4     0     0     import org.apache.soap.SOAPException;     ERROR     0
    JavaTest     JAVA SOURCE     5     0     0     ^     ERROR     0
    JavaTest     JAVA SOURCE     6     0     0     JavaTest:6: cannot resolve symbol     ERROR     0
    .

    Hi sekar,
    Interesting, you're able to do a 'CREATE TABLE bla...' but are not familiar with 'SELECT'? I would suggest to read some basic stuff about SQL statements. What will you do when the next task is: "Hey, I need a pgm to change these values in the table!"?
    Regards,
    Guido

  • Sql server resource governor per connection

    anyone know if there's a way to limit resources per connection if the server is busy? e.g. Users A,B,C all want to run resource intensive things at the same time. Can I limit them to user each 25% of the cpu/mem, only if the server is busy?  Can I
    do this without having to create 3 pools? Right now if someone does a long query it will freeze other users connections.

    I was under the assumption that you had three users and each should be given 25% of the resources. I.e., leave 25 % to the rest. You can do this two ways:
    1. Have one pool with 75% (3*25%) for which these three uses all uses.
    2. Have three pools, one pool each for the users.
    Be aware that CPU governance is per scheduler. So depending on the type of load and how your connections are hitting the schedulers (CPUs) and how long running queries you have, the governance may be more or less precise according to your config.
    And as for memory, governor doesn't do the buffer pool. Basically memory is worker memory used for query execution (think hash tables and such).
    Yes, max will only step in when there is a need for it (when somebody else want to use the resources). 2012 introduced however a harder max, called CAP_CPU_PERCENT which *is* a hard limit.
    Tibor Karaszi, SQL Server MVP |
    web | blog

  • Good SQL learning resource ?

    I often scan the discussion group articles because I always learn a lot from them.
    There are many constructs used in various SQL examples in this group that are totally foreign to me (because I am a novice).
    Can anyone recommend a book or location where I might become familiar with these advanced SQL concepts and how they are used.
    I am thinking of something with good examples so Oracle reference may not be satisfactory
    Thanks

    Hi,
    This might can help you.
    Buy Oracle 7.3 written by George Coch (X wise president of oracle corporation).
    This is the best book i have found and i think i will help you try to get this release and also the new release because the older release have each and every things in details.
    null

  • Re: iPhone Developer Beginner Resource Guide

    Ready for review, thanks.

    I do not recommend any of iOS related books. They are typically written against beta code that should never be put in front on newbies - this is a must as printed materials need to be done months ahead of time (notice the dearth of Xcode 4 books right now...). As well, the authors take the money & run, MIA when it comes time for support, knowing their hapless readers will end up one or more forums.
    Any of the C/Obj-C/Cocoa books are still relevant.
    The best/current/meaningful iOS resources, as always are at the iOS Dev Center. Don't make the mistake of expecting Apple dev documentation to be 'tutorial'...it is not. It is reference material. Use the guides and getting started docs/videos for basics and the HIG for concepts. Tie those together first and then learn how to use the documentation.
    Don't ignore the developer-targeted iBooks from Apple: https://devforums.apple.com/message/350698
    Feel free to create your own reference and submit it as a resource here, if you like

  • Best SQL Server 2005 books

    Hi,
    I am trying to determine a couple of books that will help me understand SQL Server 2005 from a few of perspectives:
    Optimizing databases, specifically from SQL 2000 - I have a recommended book Pro SQL Server 2005 Database Design and Optimization
    Developing SQL Server 2005 based applications using VIsual Studio 2005 and .NET 2.0 - I have been unable to narrow down to a specific book here. I learn best by example, so I was hoping for a book that basically goes through implementing a "real world" project from scratch to finish. I am going to be using the full-blown enterprise edition of SQL 2005, not the Express Edition; but a book that uses the Express Edition trumps any other book, I would be open to it. Any suggestions on such a book?
    Understanding T-SQL and Stored Procedures from a SQL Server 2005 perspective -- Any suggestions? A book that spells out the differences from SQL 2000 would be an added advantage.
    Thanks.

    Have a look at Itzik Ben-Gan's book:
    http://en.bookfi.org/g/Itzik%20Ben-Gan
    Here the below, we have a good collection of books
    http://www.onlinevideolecture.com/ebooks/it-ebooks/index.php?subject=Microsoft%20SQL%20Server

  • Help me to best allocate drive resources for scratch disks between 4-6 drives on my system?

    I have several 7200 RPM drives as follows
    OS/Program drive
    Audio drive (367 GB free space & used for Cubase in conjunction with another OS drive; my OS drives are removable because it's simpler than partitioning)
    Video drive (237GB free space)
    Still Image drive (246GB free space)
    Audio Sampler drive (100GB free space)
    I'll be adding two separate 2TB eSATA drives in a short while.
    After reading page 39 in. "An Editor's Guide", I'm still trying to determine where best to put my preview, capture, and project files in order to spread throughput loads to various drives. Now, I know this isn't ideal, the limited amount of space available will be a point of contention for the "can't do" crowd. The "can do" crowd will, however, be able to see solutions where the "can't do" crowd only sees reasons to fail. Also, I'm in the process of freeing up space on varios drives (except the on the Audio Sampler drive) by backing up some old files so there's some wiggle room.
    As always, thanks in advance.

    nw42 wrote:
     ... if you work with 200MBit/s and upwards footage (like DNXHD/ ProRes in high bitrate flavours or DPX file lists this is essential.
    for codecs below 100MBit/s single SATA drives will working well - split audio and video data to different drives
    I'm working with MPEG-4 AVC / H.264 (MOV file format) and DV-NTSC Digital8. Also, some AVCHD-Lite files from an older Lumix P&S (these will be archived and I'll not see files from that camera again in the future).
    Thanks

  • SQL/Developer & Resource Usage.

    A quick comparison with Toad on XP.
    Both software connected to same database running a blank sql window.
    Toad = 30MB
    SQL/Developer =60MB
    Usage of SQL/Developer see memory usage rocket to 180MB.
    Shutdown of SQL/Developer closes down the process but the PC still runs slow and requires a reboot.
    Nice product but what's the deal guys ?

    It's the insight stuff.
    You shold turn off sql insight as documented here: http://www.oracle.com/technology/products/database/project_raptor/ea6_relnotes.html.
    <snip>
    We now have a command line way to turn off code insight. This is very useful for users who access larger databases. To disable Code insight, startup SQL Developer from the command line using:
    On Windows: sqldeveloper -J-Dsdev.insight=false
    On Linux or Mac: Run sh sqldeveloper -J-Dsdev.insight=false
    or edit sqldeveloper.conf and add "AddVMOption -J-Dsdev.insight=false".
    </snip>
    -kris

  • The best SQL query tool to visualize data relationship

    Bay Breeze Software just released SQL Edge 1.4, please refer to http://www.baybreezesoft.com for product details.
    SQL Edge is an Eclipse Rich Client application that allows users to execute SQL queries, browse schema information in ER diagrams, and visualize data relationships. With SQL Edge™, users can use only one query to retrieve data in a master table, and then browse data in all related detail tables. Users can also insert, edit, and delete table records in the data grids.
    SQL Edge™ has five perspectives. The "Query Perspective" allows users run any SQL queries, while the "Schema Perspective" displays table schema information.
    There are two relationship perspectives. The "Relationship Table View" displays data in the master-detail style. The "Relationship Tree View" displays master table records as top-level tree nodes. The nodes can be expanded to reveal any level of related detail records. In addition, clicking any node will display the corresponding data in a detail grid.
    The "Model Perspective" displays tables and their relationships in ER diagrams. The tables can be from different databases. Users can define master-detail relationships among these tables, and print or save the diagram for future reference.
    The version 1.4 added following features:
    (1) Added support for synonyms and CLOB data type.
    (2) Added load on demand feature to support large result sets. In query perspective and relationship table view, a selection query will only fetch enough rows to populate the data grids. Users can scroll down the grids to fetch more rows if needed.
    The version 1.3 added following features:
    (1) Added model perspective to display tables and their relationships in ER diagrams. The tables can be from different databases. Users can define master-detail relationships among these tables, and print or save the diagram for future reference.
    The version 1.2 features are:
    (1) Support any JDBC compatible databases.
    (2) Allow users to specify JDBC drivers at run-time, and provide wizards to help setup JDBC connections. Easy to install, and easy to setup.
    (3) SQL editor with syntax highlighting based on currently connected databases.
    (4) SQL edtior allows users to execute SQL queries asynchronously. Users can cancel the execution by click the "Cancel" button or just close the SQL Editor.
    (5) Schema perspective displays the table schema information, including column definitions, primary key, indexes, and foreign keys.
    (6) Relationship table view displays the related data in the master-detail style, with master table data shown in the top grid, and all related detail table data in a list of bottom grids.
    (7) Relationship tree view displays the master table records as top-level tree nodes, and the related detail records as child nodes. Click any of these tree nodes will display the corresponding record data in a detail grid.
    (8) Allow users to insert, edit, and delete records in the master and detail grids of the relationship table view and relationship tree view.
    (9) Allow users to define master-detail relationships even between tables in different databases. This enables the relationship table view and relationship tree view to display data relationships between tables in different databases or without pre-defined foreign keys.

    Good to know. Thank you for the information.
    Bye, Aron

  • Best ABAP learning resource....

    Hello,
    I'm new to ABAP but not to object prientated programming.  I have the "ABAP Objects" book from which I'm trying to learn ABAP.
    I'm finding it quite heavy going as there aren't many tutorials \ exercises to try out.  Does anyone know of any tutorials or exercises.
    Or a book more suited to a beginer.

    Hi,
    Welcome to SDN.
    Check these links for ABAP concepts.
    1) http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    2) http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    3) http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm  
    4) http://www.sapgenie.com/abap/example_code.htm    ABAP example code
    5) http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    6) http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    7) http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm  SAP Online Help.
    9) http://www.sap-img.com/abap-function.htm   ABAP Function Modules
    10) http://www.sapgenie.com/abap/code/abap19.htm
    11) http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm   ABAP Quest
    12) http://www.planetsap.com/Tips_and_Tricks.htm  Tricks & TIps for ABAP
    13) http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm  SAP Online Help.
    14) http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm  symbols & Controls commands
    15) http://www.henrikfrank.dk/abapexamples/index.html ABAP Examples
    16) http://sap.ittoolbox.com/documents/document.asp?i=752   SAP Introduction to ABAP Helps
    17) http://members.aol.com/_ht_a/skarkada/sap/    SAP and ABAP Goodies
    18) http://sappoint.com/abap/   SAP/ABAP Technical site.
    19) http://members.tripod.com/abap4/SAP_Functions.html  SAP Functions-ABAP Hints and Tips
    20) http://members.ozemail.com.au/~anmari/sap/index.html  SAP R/3 Configurations
    21) http://www.planetsap.com/Userexit_List.htm  All User-Wxirs
    22) http://www.planetsap.com/Tips_and_Tricks.htm
    23) http://www.kabai.com/abaps/q.htm
    24) http://www.planetsap.com/Userexit_List.htm  User-Exits
    25) http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm  bakground jobs
    26) http://www.sapgenie.com/abap/bapi/example.htm  BAPI step by step
    27) http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm   SAPscript: Definition of borders, lines, and shading
    28) http://www.sap-basis-abap.com/index.htm   SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips
    29) http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm  SAP Online help Dialog
    30) http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm Dilaog Prog.
    31) http://www.geocities.com/ResearchTriangle/1635/system.html System fields
    32) http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm  Function of table control
    33) http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm  Defining table control
    34) http://www.sapfans.com/sapfans/repos/saprep.htm   SAP Repository
    35) http://www.planetsap.com/howdo_a.htm  ABAP
    36) http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm    Table Maintenance Dialog
    37) http://www.sapgenie.com/abap/smartforms_detail.htm   smart forms
    38) http://www.sap-img.com/abap.htm   Sample ABAP Codes
    3 9) http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm   Processing Blocks in ABAP Programs
    40) http://www.geocities.com/victorav15/sapr3/abap.html    ABAP/4 compendium.
    41) http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm     SAP SCRIPT IMP
    42) http://abap4.tripod.com/Other_Useful_Tips.html   Additional useful Tips
    43) http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm  Searach Helps
    44) http://www.sap-basis-abap.com/sapmm.htm   SAP MM (Materials Management) Configuration Hints and Tips
    45) http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    46) http://sapfans.com
    47)http://www.sapdevelopment.co.uk/tips/tipshome.htm
    <b>For rewarding points to SDN posters,check the weblog.
    /people/mark.finnern/blog/2004/08/10/spread-the-love

  • 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.

  • Best FCE Learning Resource?

    Hello FCE users,
    How did you learn to use FCE? I recently upgraded from iMovie 09 to FCE but am still scratching my head at its advanced interface and capabilities that I am not yet able to use. How did you learn to get to your current level of proficiency? Thanks a lot for your info!

    You could get going immediately (although it might be a bit late at night in Taiwan...) with:
    http://www.izzyvideo.com/learn-final-cut-express/
    I used it last year and found it VERY helpful. I even signed up and paid some money!
    When the shops open you could also get Tom Wolsky's "Final Cut Express 4 Editing Workshop".
    There are other resources too on the web and you can always ask specific questions here

Maybe you are looking for