Are there any good sql books that you can buy online [closed] - sql

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
Are there any good sql books that you can buy online.

I'm not aware of anywhere these user level statistics are logged by default, but you could log them yourself. Most people only care about CPU issues (when it's strained, etc) and identifying what is causing this. One of the most popular scripts to identify this is sp_WhoIsActive by Adam Machanic. There are, naturally, many paid solutions like Red-Gate, SenturyOne, SolarWinds, etc...
You'll need to pay close attention to how to capture the output for logging this to a table. Also, by default the proc doesn't return sleeping sessions so if you wanted to log everything, you need to set #show_sleeping_spids = 2. More on that is in the options page.
Once you log the users / session /queries from this proc, then you can do the rollup yourself of course.

Glenn Berry (SQL Skills) has done a ton of great work using SQL Servers dynamic managemnet objects. Several of his queries do capture CPU information. You may be able to re-cobble one or more of them to get what you're looking for.
Start by downloading the version appropriate to your environment.
SQL Server Diagnostic Information Queries for October 2018

Related

SQL Server Enterprise vs IBM iSeries as400 reliability and performance [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
having a bit of a difficult time drumming up a good comparison between these two enterprise level systems. I'm wondering if anyone has ever come up with some concrete statistics between the two. Does anyone here know performance benchmarks between the two? Looking for reliability (up time), access speeds... things of that nature. The struggle is that most information that presents itself is always opinion based - looking for concrete facts regarding the two.
in addition to what has already been posted you can't really do a apples to oranges comparison between those 2 environments. IBM's offering (which is actually Power Systems running IBM i OS) is a "self-contained" all-in-one whereas any SQL Server system there are simply too many ways to impact performance and stability depending on the hardware that the SQL Server DB is running on. running benchmarks to prove/disprove the viability of running your company's business isn't going to be an easy job...

Diffing Sql Schema [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
I need to move some changes from database a to database b, and some from b to a. Every comparison tool I've used requires you to pick a direction first and if you want to go the other direction, well then you get to wait for it to completely re-compare all over again.
Also the tools I've used don't allow you to make changes on the fly. If I see something I need to update, I've got to go update it using SSMS and then come back to the tool and re-compare all over again.
What I really want is a tool that works just like a text diffing application (BeyondCompare, WinMerge, etc.).
I've thought about trying to write my own app to do this so many times but it's a big undertaking so I always say "nah, it's not worth it". Well I've finally decided to give it a shot but I just want a final word on 2 issues:
1) Have I overlooked some amazing product that already does this? I've searched but haven't found anything. Would hate to waste a lot of time if someone has already done it though.
2) What Diffing api would be best suited for this type of application?
The best tool for doing this action is from redgate called sql compare.
http://www.red-gate.com/products/sql-development/sql-compare

Ready web query interface to SQL databases [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
Do you know any free tool which would constitute a web-based SQL database generic query interface, incl.:
(mainly) allowing to type in an SQL query and display the result in some nice way
the interface should allow for some basic security - allowing only SELECT queries
the very need is to support MS SQL Server, but Oracle support would be useful
should run against an existing database instance without any re-configuration needed
might be simple, no need to browse tables, analyze database columns or anything else you would experience in SQLDeveloper or SQL Server Management Studio
Platform / language / etc. is of second importance.
The StackExchange Data Explorer has this functionality (example) and it is open source, so you may be able to just install and make use of it, or even extract the relevant code.
Perhaps something like the SQL Fiddle?
Obviously, this is mainly for demonstration purposes - it won't help you if you want to install it on top of your own database.
Re:dash (Redash) is a promising new open-source player on the market. From their own website:
re:dash is our take on freeing the data within our company in a way
that will better fit our culture and usage patterns.
Prior to re:dash, we tried to use traditional BI suites and discovered
a set of bloated, technically challenged and slow tools/flows. What we
were looking for was a more hacker'ish way to look at data, so we
built one.

Freeware Query Builder [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'm looking for some freeware Query Builder.
Query Builder in Aqua Data Studio allows you to visually build queries:
select the column you want returned
generates joins for you(you just select by which columns you want to join it)
Good question! I thought there were many DB tools that fit your description, but when I checked a commonly-sourced Wikipedia article (see comment below), I found that most free/open source DB management software does not have a visual query builder feature! (I build my queries from scratch, so this is not a feature I particularly need.)
The freeware version of Toad for Data Analysts is a good bet. You can download and use it for 120 days. After that time, you need to reinstall on your PC. You might need to check to see if you will get write-access to non-Oracle databases, but I do know you can at least get read access to most non-Oracle DBs.
You might also like SQL Developer, which has a more robust community of users than that of the Freeware Toad for Data Analysts. That will only give you read-only access to certain non-Oracle databases.

Additional SQL Server sample databases to practice with [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'm helping a friend learn SQL, and need more databases to help him get more practice.
We have of course AdventureWorks, Northwind, and Pubs.
Does anybody know of any other SQL databases samples that might be available to download?
I know some sites have some databases where you can practice queries on the site, but I was looking for something he can run locally.
Try downloading and importing some of the free data sets the Census bureau, US Geological Survey, National Oceanic and Atmospheric Administration, or other large data gathering agencies provide for free on the web.
Why not work with a billion record table of all the elevation points in the US? Not only do you get the practice your DB skills, you can get real world types of indexing and performance issues.
Here's one called the Chinook Database. It has scripts for SQLServer, Oracle, MySQL, SQLServer Compact.
http://chinookdatabase.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=21111
As I find more, I'll post here.
I think it is much better Idea to create a database from scratch ,Taking sample project say a simple inventory management system and then building tables finally creating then in db ,It would be much practical way to learn then to directly play with a ready made database.