It seems sqlblog.com is now sqlblog.org 1.. One effect of this is to break outgoing links from dba.se.
In the past, I've tried to be a good netizen 3,4,5,6 and edit posts with dead links to an appropriate new home or archive copy (god bless the wayback machine - RIP MS Connect). Sadly in this c...
Will there be any performance difference between these 2 queries? select * from t1 join t2 on t1.id=t2.id and t1.date=t2.date select * from t1 join t2 on t1.id=t2.id where t1.date=t2.date
While I'm waiting for my user to get access permissions, I'm stuck using a colleague's, and whenever I try to run basic SQL queries I have to switch from my Windows user to hers.
Hopefully this is clear enough: I want to access a SQL Server for which another user on the the same intranet has per...
> ... for which another user on the the same intranet has permissions while I only have her credentials, and that the server utilizes Integrated Security.
The performance will be the same. The optimizer will recognize this and create the same plan.
On the other hand I wouldn't say they are equal. The first form in the question is far more readable and generally expected.
For an example using some tables I have at hand you can see the execution pl...
@TomV I agree it's slightly different for this OP's use case. But essentially, the advice in the dupe target is pretty good - not just my answer, Erik even has a good one [hat-tip to @sp_BlitzErik
@PaulWhite that answer by @MaxVernon is great (upvoted), but it's almost entirely specific to the cost-savings under licensing can that question then not be refined to the cost-savings under licensing?
Listening to King Gizard and the Lizard Wizard - Nonagon Infinity. To say it's a long album is a bit of an understatement... it's designed to loop till infinity.
From henceforth, infinite loops shall be known as Nonagons.
It's really more of a relational database question in general but I haven't been able to find a good answer online even though I know the answer is probably pretty simple
Sure, so I'm designing a very simple web application where one of the features is that users can save lists of chord progressions to the database for viewing later/sharing
If you're not a musician, I can elaborate more, but think of it as just storing a list of strings (a good example might be the list: C major, D minor, G augmented, D7)
@hasherr not necessarily a problem. Are you ever going to query the data that exists inside each progression? i.e. are you going to look for any progression that has a g minor?
if so, then you'd want to split them out, most likely
if you're never going to search the contents of each progression, then just store it as a string.
You could mock it up in the database using a normalized table with multiple rows for each chord/note of each progression, just to see what it looks like. That would give you a better understanding of both the difficulties and the rewards of doing it that way.
if we're talking about hundreds of millions of progressions, then that's a different question than if we're talking about several thousand to a ~ million.
pick a logical maximum size for the field though. i.e. don't make it varchar(max) simply because someone might put the entire Beethoven's Fifth in there.
If I ever decide I wanna give it away to the world I'll clean it up and go back and make some better design decisions (in which case paying for hosting will be my biggest problem lol)
I have a construction_events table in an Oracle database. Users enter construction events into the table via GIS software.
For example, a user can enter a construction project for 2019.
The event_status would be entered as proposed.
Starts out as legit:
The record is legitimate at the time t...