Forum Replies Created

Viewing 15 posts - 5,881 through 5,895 (of 6,486 total)

  • RE: CAL License for ASP.NET application

    Per Microsoft - (http://www.microsoft.com/sql/howtobuy/faq.mspx), there is no concurrent licensing for SQL server. CAL's are to be acquired for every "direct and indirect user of SQL Server" (meaning - end...

  • RE: Metadata Structure / Design Issues

    Well - you're going to be running into some serious compromises. For one - "30 100-character fields" sounds like someone's being sloppy/lazy with giving you the right specifications. ...

  • RE: #Error when using =Iif statement

    You have to prevent totsum from being 0, since that is what is causing your divide by zero #ERROR's.

    If you want that to evaluate to 0 then try:

    =iif(sum(Fields!Deqsum.Value) =...

  • RE: DR Options

    Agreed that you summed it up fairly well, under the assumption that you are looking that the asynchronous versions of those. Anything synchronous would have a "risk" attached to...

  • RE: Sample every nth record

    Assuming you want a random sampling:

    declare @n int

    set @n=100

    select t.* from

    (select *, row_number() over (Order by newID() ) as 'ranknumber' from table1) t

    where ranknumber%@n=0

    Or...(in the case one out...

  • RE: Help, make three rows one

    SELECT ACCT,

    sum(case when Substr(DVC_TYPE,1,2)='SM' then 1 else 0 end) as smallcount,

    ...

  • RE: Version Numbers in DB Name?

    Unless you're an Application Server Host, why would you ever need multipl versions of the same data out there?

    Now - if you ARE an application server host, and you need...

  • RE: T-SQL splitting a column

    The issue is that you're throwing a varchar into the ELSE clause (''). That won't implicit convert to a MONEY value. So - switch the ELSE portion to...

  • RE: @@FETCH_STATUS can be -2

    AFAIK, this usually happens when some process OUTSIDE of the cursor deletes a row in the table the cursor is based on.

    So - if job 1 opens a cursor...

  • RE: Date encrytion

    There's already a system function for that: RAND().

    A few things about rand():

    - RAND() will generate a random number between 0 and 1, so if you want "bigger numbers,...

  • RE: Function in join

    If the view is too cumbersome - then put the computed column in the actual table definition, and index based on that. That's what I was actually supporting (not...

  • RE: Function in join

    Agreed - the function in the ON clause will force a table scan. Split the calculation out to a computed columns, then index the new computed column, and join...

  • RE: Help please - similar names

    well - you can convert them all to upper case during the grouping. You're already hurting performance with the function in the group by, so it might not stay...

  • RE: Missing Sequence

    Isn't that what his example is showing? gaps in prio by id?

  • RE: Large Table Delete 105+ Million Rows...

    Lee - process looks fine. You will still need to deal with reorganizing the data so that you don't have page fragments everywhere, and then shrink the database.

Viewing 15 posts - 5,881 through 5,895 (of 6,486 total)