Any good spatial database tutorials out there? [closed] - sql-server

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I was looking to explore the spatial capabilities of PostGIS or SQL Server 2008. Maybe Oracle as well.
I was wondering if there are any good tutorials out there exploring the spatial capabilities of these database in particular or of this type of capability in general.
Does anyone know of any? Book recommendations would work as well.

I wrote a little blogpost about SQL Server geography data type here: SQL Server 2008 Proximity Search With The Geography Data Type

This isn't a tutorial, bit it's a good comparison of the various offerings, to see how they stack up against one another:
Spatial Database Cross Compare

A great introduction to SQL Server 2008 Spatial in 8 parts. Projections, geography / geometry, spatial SQL functions etc.
http://www.jasonfollas.com/blog/archive/2008/03/14/sql-server-2008-spatial-data-part-1.aspx
A few extra links and SQL examples here - http://geographika.co.uk/sql-server-spatial-sql

Try http://www.bostongis.com/
They mostly cover Postgres/PostGIS, though they talk about SQL Server also. There are some pretty good examples.
The PostGIS manual is really good too, chapters 4 and 6 in particular, though it is all worth reading.
http://www.postgis.org/docs/ch04.html
PostGIS again, but this book is really very comprehensive in its coverage of spatial sql, and many of the queries will port to other dbs, particularly Oracle -- as the Postgres devs have made an effort to be compatable with Oracle syntax, where possible. It starts with the basics, but some of the later examples are really very advanced.
http://www.manning.com/obe/

You may be interested in ESRI's ArcSDE tutorials.
Edit: Sorry... I just read the question details. And this doesn't really answer your specific need. However, for people looking for an SDE tutorial that are using the ESRI products, they may find this useful.

While it doesn't specifically address SQL Server 2008, Boundless has a very good tutorial on PostGIS. I didn't use their OpenGeo Suite to follow along but instead adapted the examples to PostgreSQL which is what I use. In the end, I learned a lot from this tutorial paired with the PostGIS user manual.

Related

SQL Server Data Mining resources [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm new to Data Mining but not that new to SQL Server. I'm looking for best resources to get me what I want as fast as possible. I want to know about SQL Server Data Mining. Is there any resource(s) you would recommend? I appreciate your help.
Look at http://www.sqlserverdatamining.com/ssdm/, which is run by the SQL Server Data Mining product team at Microsoft and has tutorials, whitepapers, articles, tips and tricks, and downloads. Also, take a look at the book "Data Mining with Microsoft SQL Server 2008"; it was coauthored by members of the product team.
I also always recommend, if it's your first time out of the gate with the feature, that you go through the tutorials in Books Online. They give you a broad overview of the features involved in data mining and some initial hands-on experience. Certainly not enough to make you an expert, but enough to give you a basic idea of how data mining works.
I recommend the book Data Mining with SQL Server 2008 - (Disclaimer - I wrote it with a colleague while I was the dev manager for SSAS, but it is the best SQL DM book!)
Also look at my blog (this is a good post digest - http://jamiemaclennan.blogspot.com/2010/03/dmx-posting-digest.html)

are there any Query Optimization Tools for SQL Server? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Are there any tools that do Query Optimizations for SQL Server 2005 and above?
I've searched & didn't find anything.
What do you recommend?
If this Question was repeated before you can close it but I didn't see anything similar
The best tool I've ever used for optimizing queries in MS SQL Server, by far, is the "Include Actual Execution Plan" option in Microsoft SQL Server Management Studio. It displays detailed information about the execution path taken by the server when running your query. (Note that this works best when there's data in the tables. Of course, without a good bit of test data, any optimization is purely theoretical anyway.)
It basically gives you three very important things:
It tells you which steps take the most processing time and what they're doing at that step.
It tells you which steps carry the most data to the next step, including how many records, which helps identify places where you can be more specific about the data you want and exclude unnecessary records.
It gives you a ton of insight into the inner workings of SQL Server and what it does with your queries. This knowledge will help you optimize things a lot over time.
In SSMS - Tools | Database Engine Tuning Advisor - Does not work on Express versions.
One very good tool and now free for use is Plan Explorer from SentryOne: https://sentryone.com/plan-explorer
(they also have many other optimization software, like Azure specific software etc.)
One of the best query optimizers is just running the query in SQL Management Studio, and then inspecting the query plan. This will give you clues as to what indexes it is (or is not) using, and how you can change the query to take advantage of those.
As John Saunders commented, the best tool at your disposal is your own mind. Following bernd_k's comment, here are a few suggestions for sharpening that tool.
SQL Server 2008 Query Performance Tuning Distilled
Professional SQL Server 2008 Internals and Troubleshooting
SQL Server MVP Deep Dives
Also this is a good tool for monitor and optimize queries:
Sql Monitor by Red Gate

web front-end for database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'd like to know if there is some open source web front-end for databases.
I'd like something where queries can be executed from a web browser, only read-only queries are fine. If possible it would be great to be able to select with a gui the columns that are displayed as the result of the query.
As several people asked me, I use Oracle. I'd prefer open source to be able to customize if needed.
For MySQL, phpMyAdmin is the only open source tool I'm aware of. I'm not sure about other types of databases.
I've used one called myLittleAdmin for SQL Server, but it's a closed-source paid product. Probably not going to be much help there.
MySQL has phpMyAdmin, which is quite good.
For Oracle and SQL Server there's Maestro.
It depends on wich database you are going to use, i have used phpMyAdmin before and it is really nice.
phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement.
We use DBHawk from Datasparc. It has many features such as web based query builder, editor, SQL report builder etc. It is not open source, but Datasparc provides customization based on your needs. We are using it for our support team where we need to access many SQL Server/Oracle databases through a browser.
For a PHP/MySQL standard setup, I've found SQLBuddy to be a great (and free) little utility. It's really simple, has almost no install, and it is friendly to use. phpMyAdmin can be a bit overkill for some people especially if you're just messing around with the database and wanna check if your entries were inserted. Check it out.
Not good for you if you're using Oracle but as well as phpMyAdmin, there is also phpPgAdmin for us folks who use Postgres.

Is there anything as good as TOAD for Postgres (Windows)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm just looking for a management tool like TOAD for Postgres. Anyone used a good one?
Edit - I work mostly within the data itself and the database already has a mature model/design. I use the edit windows the most (well, in TOAD for Oracle anyway.)
As far as I know, Toad only exists naturally for: Oracle, MS SQL, DB2 and MySQL...
--JS
Doesn't TOAD exist for several plattforms?
I'm using pgAdmin III which fills my needs so far.
http://www.pgadmin.org/
Not sure if TOAD for specific DB versions is any different than TOAD for Data Modeler, but it appears that TOAD Data Modeler supports PostgreSQL, along with a few others.
If you're looking for something like SQL Server Management Studio, but for Postgres, how about EMS SQL Manager or Lightning Admin?
See the wiki: http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools
TOra has some nice features and is supposed to be a lot like TOAD. Also, it is completely GPL so you can change the code yourself.
BTW: Toad is not OpenSource and is now only trialware (must re-install every 120 days). TOra is OpenSource so you don't have those issues.
I've used Navicat fairly extensively and successfully but only on a Mac. It has a Windows implementation that is, as far as I know, more feature rich than the Mac implementation.
I've had the odd data typing issue with it but, if you are not doing data modelling, that may not be an issue for you
Because you do not need to edit the database design, I suggest SQL Workbench/J. It is Java application. You can use GUI mode (which I prefer to) and console mode (if you like psql-like command console).
I use this app much more than pgAdmin III or pgAdmin 4 because it helps me to ease monitoring the database activity, deploying new version of DB app, etc.
Navicat for PostgreSQL is working really well for me natively.
I set up phppgAdmin for the teams general use and it has been quite valuea
ble

Best software for showing SQL Server Database Structure [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have a MSSQL2005 DB with about 140 tables. I want to create either an accessible diagram or a printable API type document with the table structure. Is there a program that offers this kind of db visualization?
I find the diagramming built into SQL Server to be very clunky and very inaccessible for my DB size.
Take a look at SQL Doc.
I always used Visio for this type of thing.
I like Toad Data Modeler for this. It reverse-engineers Microsoft SQL Server databases (and other brands of databases too), but more than that, you can start making your modeling changes inside the tool and it'll generate change scripts.
If you use somebody else's tool, make sure that you can round trip changes - meaning, if you put all the time and effort into getting your documentation right, and then you change the database inside SQL, can you re-import your changes from the database without overwriting your work in the documentation tool? Most of 'em don't do that, but Toad Data Modeler does.
(Disclaimer - I work for Quest. I used this program before Quest bought it, though, and always loved it.)
http://www.quest.com/toad-data-modeler/

Resources