Forum Replies Created

Viewing 15 posts - 271 through 285 (of 311 total)

  • RE: How to join a table-valued Function

    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...

  • RE: April 1

    I did not even bother to try...

  • RE: Setting multiple values

    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...

  • RE: Setting multiple values

    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...

  • RE: April 1

    Steve Jones - Editor (4/1/2008)


    1...2...3...4... enough recounting.

    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...

  • RE: Setting multiple values

    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" ?

  • RE: Setting multiple values

    Another suggestion: Enter in a working table the list of your productid's.

    Example:

    CREATE TABLE myTempSelectionList

    . (

    . pk INT NOT NULL PRIMARY KEY bigint,

    ....

  • RE: select 3/4

    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...

  • RE: April 1

    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...

  • RE: More RBAR and "Tuning" UPDATEs

    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 ...

  • RE: Operators

    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...

  • RE: Select date columns value which are older than 10 days from today?

    My thoghts exactly.

    FOURTH normal form? I know what it is but is it REALLY used in the real world (performance issues).

  • RE: Select date columns value which are older than 10 days from today?

    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...

  • RE: Operators

    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,...

  • RE: Im having troubles with code for project Leap Years-help please

    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...

Viewing 15 posts - 271 through 285 (of 311 total)