Welcome to Forums Sign in | Join | Help | Forums
in Search





Make the world a better place.

SQL Query Analyzer

Last post 03-23-2007 12:46 PM by Drew Allen. 19 replies.
Page 2 of 2 (20 items) < Previous 1 2
Sort Posts: Previous Next
  • 03-21-2007 9:15 AM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    SQL Query Analyzer

    No, it's actually the export that takes so long to run. If you write your Crystal reports directly off the SQL database, they run much faster. Drew J. Drew Allen Children's Hospital of Philadelphia [Email Removed] Check out the user run RE Forum at http://www.blackbus.org/ . Check out the Crystal Reports blog "Crystal Clear" at http://www.blackbus.org/blogs/viewblog.php?userid=63
    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 03-23-2007 9:11 AM In reply to

    SQL Query Analyzer

    Dom, Could you please email me the steps you take. I have built a query in BB but I can not find a view menu-SQl any wheres. My email is [Email Removed]
  • 03-23-2007 9:27 AM In reply to

    • Dan Larson
    • Top 75 Contributor
    • Posts 88
    • Organization: CentraCare Health Foundation
    • Products:  The Financial Edge, The Raiser's Edge, The Researcher's Edge

    SQL Query Analyzer

    That's probably because you haven't unlocked the RODBA module yet. I created a case and they emailed me an unlock code. I ran into some problems with authentication though. We're set to Windows Authentication in SQL Server so I had to give my AD account (via Enterprise Manager) full dbo access (temporarily) to the re7 database. Once the module was unlocked, I returned my account back to normal and I was able to view my sql behind my queries. Kind of nice, except I'm still not used to joining tables in the FROM statement - seems like too much typing. I'm used to Oracle 9i and still like to do it in the WHERE clause. Dan Larson Programmer/Analyst St. Cloud Hospital St. Cloud, Minnesota
  • 03-23-2007 12:13 PM In reply to

    SQL Query Analyzer

    Technically you can do it in the WHERE clause Don because SQL server uses ANSI SQL, and that's the standard. I do it in my scripts all the time because I (like you) love Oracle and some of the powers it has that SQL server doesn't... I believe that SQL is more efficient if you do it in the FROM clause, but I haven't noticed any real speed decreases from doing it the other way, and one of my scripts is about 7000 lines of code... Doug Creek University of Alaska Database Administrator [Email Removed] Visit the RE User Forums! http://www.reusers.server-planet.com/
  • 03-23-2007 12:46 PM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    SQL Query Analyzer

    SQL Books On Line has the following to say about the difference between specifying join conditions in the FROM clause and the WHERE clause. [indent]Specifying the join conditions in the FROM clause helps separate them from any other search conditions that may be specified in a WHERE clause, and is the recommended method for specifying joins.[/indent] You should also note, that ANSI SQL requires OUTER JOINS to be specified in the FROM clause. Drew J. Drew Allen Children's Hospital of Philadelphia [Email Removed] Check out the user run RE Forum at http://www.blackbus.org/ . Check out the Crystal Reports blog "Crystal Clear" at http://www.blackbus.org/blogs/viewblog.php?userid=63
    J. Drew Allen
    The Children's Hospital of Philadelphia
Page 2 of 2 (20 items) < Previous 1 2