Viewing 15 posts - 496 through 510 (of 4,085 total)
This site is devoted to Transact-SQL (MS SQL Server), so you may not get an answer to a MySQL question.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 26, 2019 at 5:07 pm
Please do a little research and look up the design flaw called EAV. You are reinventing it, and on top of that, you added assembly language style bit flags....
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 25, 2019 at 8:56 pm
1 Don't concatenate the strings, that's more overhead, just check the len of each: LEN([address 1]) + LEN([address 2]) + LEN([address 3]) = 0 /*easier, to me*/ OR (LEN([address...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 25, 2019 at 8:50 pm
Itzik Ben-Gan did a series of articles on intervals and counts which can be modified to answer your question. Here is the first article in the series. Had you...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 25, 2019 at 8:43 pm
I use SQL Prompt at a previous employer, so I am quite familiar with it.
Snippets was one of the reasons that I requested SQL Prompt here. Although, I edited the...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 25, 2019 at 6:40 pm
After almost a year, I finally got a license for RedGate SQL Essentials. SQL Prompt is so much better than the native Intellisense.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 25, 2019 at 4:46 pm
The logic for the rows that you want to return is unclear. For instance, if you supply "Emp = 1 and HeaderID = 123 and Status = Failed" why should...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 24, 2019 at 2:49 pm
I would recommend against this. You're likely to break things in ways that aren't obvious.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 21, 2019 at 8:03 pm
I just know that Drew is going to post a really snappy solution to this one ... that's what usually happens after I post my overblown version. But here...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 20, 2019 at 2:48 pm
Your code works , if you place the columns as you want to see result ( as example i provided) , but if i place all the columns in...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 19, 2019 at 8:56 pm
I have read many great helpful articles on Tally Tables by Jeff Moden, Lynn Pettis, and many others; however I haven't seen one on how to allocate quantities using...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 19, 2019 at 7:49 pm
There is also a problem with your formula.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 18, 2019 at 10:07 pm
Why are you trying to make a database program behave like a spreadsheet? They are two very different tools and they both have their uses. Use the right tool for...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 18, 2019 at 7:41 pm
XML is case sensitive. Your bulk insert use DateofBirth but your VB script uses Dateofbirth. Make sure that the case matches.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 18, 2019 at 4:25 pm
That's what comes from using a formula that you found on the web without understanding exactly what it is doing. The zero that you are using is a shortcut for...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
June 18, 2019 at 4:08 pm
Viewing 15 posts - 496 through 510 (of 4,085 total)