Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Selecting top N rows until sum(column X) > y

    I think your best bet is not to worry about how many rows you have and just worry about the running total.

    create table #t

    (Name Varchar(20),

    Salary Money)

    insert into #t values ('John',...

  • RE: date format

    Wait a second. Is there a reason this data can't be a datatype of datetime?

    I have found that this is the fastest way to strip off time, and yet...

Viewing 2 posts - 1 through 2 (of 2 total)