Viewing 15 posts - 271 through 285 (of 311 total)
Sergiy (10/17/2007)
Mike,unfortunately there is no such thing as "CROSS APPLY" in MS SQL 2000.
In MS SQL Server 2000, you can get a cartesian product simply like this
[font="Courier New"][font="Arial"]create table TableA...
April 2, 2008 at 9:58 am
Pressed "Post Reply" too quickly. Forgot to add this:
I have also used the approach of comma-separated single parameter but it has limitations:
- the is a practical limit to the length...
April 2, 2008 at 8:38 am
Mr. Moden,
I was talking about a GUI. Working off a DevExpress grid in Delphi, the user can multi-select several lines. It is then a simple matter of looping through the...
April 2, 2008 at 8:27 am
Steve Jones - Editor (4/1/2008)
I'll add points back to the True's later :). The system doesn't allow "either or" answers. If I ticked both, both would be required.
Happy...
April 1, 2008 at 2:58 pm
Jeff Moden (4/1/2008)
Are you going to do that from a GUI where parameters are normally passed as CSV's?
Er, is the question addressed to "Rags" or to "J" ?
April 1, 2008 at 2:15 pm
Another suggestion: Enter in a working table the list of your productid's.
Example:
CREATE TABLE myTempSelectionList
. (
. pk INT NOT NULL PRIMARY KEY bigint,
....
April 1, 2008 at 11:05 am
Let me get this straight:
You divide two integers and expect a decimal result ?
The previous suggestion:
[font="Courier New"]. select (convert(decimal(2,1),3)/convert(decimal(2,1),4))[/font]
does produce what you need:
[font="Courier New"].750000[/font]
So I am not...
April 1, 2008 at 10:26 am
After falling for the Featured article "The New SQL OS", I fully expected that the Question of the Day, in the same e-mail and given its obviously preposterous nature would...
April 1, 2008 at 9:20 am
Hmmm
I vaguely remember the furor about VB "dot Nyet" invalidating all code written in previous VB versions...
Walking up to Frankenstein's castle with torches and pitchforks ...
March 19, 2008 at 3:10 pm
In the trivial statement, I also got the answer right without testing or reading BOL.
However, even without bit operators, I have had cases where the statement was more complicated than...
March 18, 2008 at 6:50 am
My thoghts exactly.
FOURTH normal form? I know what it is but is it REALLY used in the real world (performance issues).
March 17, 2008 at 8:24 am
Comments invited.
You could also calculate ONCE the "10 +" dates -- when crreating the record.
True, you would need an additional column (AARG! Thrid Normal Form Violation ! do NOT add...
March 17, 2008 at 7:42 am
Implied vs Explicit
I prefer to use parenthesis to clearly express the precedence. This saves me from having to mentally reestablish the precedence every time I read my own code. Also,...
March 17, 2008 at 7:34 am
I hope you do not intend to store BC dates in SQL Server 2000.
In SQL Server 2000, the allowable range for the datetime type is from January 1, 1753 through...
March 12, 2008 at 8:58 am
Viewing 15 posts - 271 through 285 (of 311 total)