I watched the extended cut of the movie and can’t seem to figure out why the director put that quote in there. Is this a hidden joke or a slip up that made it into the movie?
I have a problem with the following query executing from the application (Microsoft Dynamics AX):
DECLARE @p1 INT;
SET @p1 = NULL;
DECLARE @p2 INT;
SET @p2 = 0;
DECLARE @p5 INT;
SET @p5 = 2 + 4096;
DECLARE @p6 INT;
SET @p6 = 8193;
DECLARE @p7 INT;
SET @p7 = 0;
EXEC sp_cursorprepexec
@p1 OUT...
A midlife crisis is a transition of identity and self-confidence that can occur in middle aged individuals. It is a psychological and behavioral observation that commonly occurs with individuals between the ages 45–64. Its observations differ in a diverse manner for each individual. While some individuals may experience feelings of depression, remorse, and anxiety, others may experience feelings such as the desire to achieve youthfulness or make drastic changes to their current lifestyle or atmosphere.
== Crisis vs. stressors ==
Academic research since the 1980s rejects the notion of mid-...
@sp_BlitzErik I'm glad you remembered it. I would share Rob's post and car picture but it's not public.
The issue in that question is simply the join cardinality estimation. The unbalance comes from hash partitioning and duplicates as Joe mentions in his answer.
Anonymized plans are all very well but so often the devil is in the obfuscated details e.g. join predicates in this case.
I should probably write something down in an answer to complement his.
@PaulWhite i usually bail on anonymized plans. i get why people do it, but the naming convention used is incredibly confusing when you want to give someone quick advice.
I often take the view that if the data is at all sensitive (requiring anonymization) it is simply not suitable for free help and requires money and contracts.
Damn you Query Optimizer!!! Been refactoring and am now getting "Arithmetic overflow error converting numeric to data type numeric." If I pass in 99.95 it fails. If I pass 99.9499 it works. I guess I know what I'll be doing tomorrow. <sigh/>
@dezso It's not quoted, it's caged. I don't want feral squirrels running around in my shiny new SSD.
I figured out that I can have Unique Index and Prim Key with same name, same columns but with different order of columns. In such case, how Prim Key is using that index?
Thanks.
I need to create a database to store Jobs.
Each Job can have 1-* Step
Each step is classified as one of either Type A, B or C.
Each Type has specific details and other tables that join on them so putting them into the Step table is not an option.
This is depicted in the diagram below;
In this...
@PaulWhite Although the solution to both questions is employing a similar structure, the scenario shown in the tentative duplicate is different. Let me know what you think, thank you.
I am running SQL Server 2012.
The SQL Server Management Studio has the option to right click on a database then select Tasks and Generate Scripts.
Is there a way to automate that via command line somehow?
I want to create a script that includes the schema and data of the entire data base.
Too...
They pretty clearly hijacked the top (accepted) answer and replaced it with their own content, so I rejected the answer.
After looking into it a bit more, the user appears to be a Microsoft project manager who is part of a team working on a product for generating scripts from the command line:
So I added an answer of my own, pointing to that blog.
After further thought, I think this was new user ignorance, not malicious. The post is locked to answers from new users, so she couldn't add a new answer the proper way
I don't believe any further action is warranted at the moment, but just wanted to mention it if we see any further activity from this user
Not sure how much it matters if the project is free but usually one is expected to disclose their affiliation, involvement etc., which she didn't in her edit.
@AndriyM Well, it doesn't exempt her from following dba.SE rules, but it does mean that her newly completed tool is worth mentioning, if it works as promised
Especially as an answer to "is there a command line equivalent to the script feature in SSMS". Yes, here is a new command line tool, created and supported by MS, designed explicitly to be equivalent to the script feature in SSMS
@BradC One other point regarding your answer that I meant to raise is, do you think it would be fair to mention her as someone whose idea it actually was to suggest the tool in the first place?
@ypercubeᵀᴹ I think it's the type of information they're looking for, but it's not "exactly" so, though I get the idea. Anyway, there's no big deal, as I commented above.
By her DBA.SE profile link, I think. She did try to post her answer, and only failed to do so because of the protected status the question had at the time.
I'd like to provide an answer to this question - however it needs a couple more reopen votes. My answer would be for SQL Server, although I think it would be generic enough to help future visitors even if the OP never comes back.
I do have a guess, though, that he may be confused about how indices work, in the sense that he may be thinking that an index name has anything to do with whether the index is used or not, or how it's used.
@JoeObbish perhaps I'm reading into it? It seems to me like the OP is asking what happens to a table when you have a primary key and a clustered index that are different; specifically when they are different only in the order of the key columns?
At least, that's what I thought when I read the question.
the bit about the names of the indexes being the same must be incorrect.
SQL Server 2016 SP1 Enterprise Edition Data Engine (with SQL Agent) installed on an FCI called inst1.
SSIS 2016 SP1 Enterprise Edition installed on comp2. (comp2 is not in the inst1 cluster)
Filesystem SSIS packages on comp2.
SQL Agent job using the SSIS step type on inst1 calls the package stor...
@McNets well, that is like the ERPs: I don't know much about them. However, the self-answer clearly shows (to me, at least) that the question is too localized.