I think this is a great idea -- if you haven't already, I suggest a diamond mod editing this addendum into the DBA FAQ.
http://dba.stackexchange.com/faq
I do see
but this is not the right place to ask questions about...
client-side programming (ask on Stack Overflow instead)
basic...
People who refuse patdowns are at least 99.9% people who have read the 4th amendment rather than terrorists. To date I'm not aware of their "enhanced patdowns" actually finding anything
Community FAQ
For sites in the Stack Exchange 2.0 network
To see a list of commonly used words and phrases, see the glossary.
Content
Asking questions
How do I write a good title?
How to ask a smart question?
How can I get answers fast?
Is there a limit on how many questions I can ask? ...
After the BI merge we thought it might be good to have our own version here, linked to by the faq, with more detailed information about what we want migrated, what "DBA" really means etc etc :-)
technically doesn't the SQL spec require a semicolon between queries (even contiguous ones) and the engine parsers are just smart enough to generally know where semicolons belong?
> ; > Transact-SQL statement terminator.Although the semicolon is not required for most > statements in this version of SQL Server, it will be required in a future version.
From what I understand from the article, the problem is really confined to very large deployments with linked systems right? As the SCN is cascaded between linked databases?
My bank (and every bank I've come across) only ever asks for individual characters from my password when logging in. Is my bank storing my password in plain text?
@MarkStoreySmith They are saying if you use an obsolete method of backing up your database deliberately in an RAC cluster there is an outside chance of an intractable problem. To me it looks like "if someone evil has access to one of your databases he could sabotage them" - which is kind of a truism.
@JackDouglas Do you want to rephrase the FAQ in terms of a series of questions (per a traditional FAQ) with links out to deeper discussions of the individual questiions?
@NickChammas Not an expert on such matters but I guess that by storing hashes for a combination of 3 character combinations, it becomes viable to brute force the hashes
@ConcernedOfTunbridgeWells no nothing that drastic - just add a brief subsection at the end of the top section of the faq with a link to a meta Q like the one on mSO Cole linked
@NickChammas thats potentially a lot of combinations ;-)
but I'm not really talking about keys - just whether the optimizer can use leading columns of an index (including non-unique index) to do a distinct assuming all are not null.
@JackDouglas it's going to be a clustered index scan no matter how you dice it I think. It needs to read the whole clustered index but I think it can use the stored metadata to get those distinct values more quickly
@JackDouglas - just confirmed. I made two 3-column tables, all fields are varchar(10), with identical 1m rows each. I indexed table 1 on A,B and table 2 on B,a. SELECT DISTINCT ColA runs in around half the time, with half the CPU, on the one with the index on that field FIRST. Opposite holds true as well for SELECT DISTINCT ColB
Column order had a big performance impact on some of the databases I've tuned, spanning Sql Server, Oracle, and MySQL. This post has good rules of thumb:
Primary key columns first
Foreign key columns next.
Frequently searched columns next
Frequently updated columns later
Nullable columns last...
> EDIT: Sql Server 2005 stores fixed-length fields at the start of the row. And each row has a reference to the start of a varchar. This completely negates the effect I've listed above. So for recent databases, column order no longer has any impact.
modern engines know how to fix screw ups, same as compilers
We use the standard System.Data classes, DbConnection and DbCommand, to connect to SQL Server from C#, and we have many stored procedures that take VARCHAR or NVARCHAR parameters as input. We found that neither SQL Server nor our C# application throws any kind of error or warning when a string lo...