Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)

  • RE: Service broker

    I think we have gotten past this error - we were using a port that was also being listened to by SQL server. Still having a problem with the certificate,...

  • RE: Is point-in-time possible after restore

    Scott,

    So after doing the restore, all log and diff backups that run after the database is brought back up can be added to the initial backups used for second the...

  • RE: Is point-in-time possible after restore

    Thanks for all of the input,

    To spell out the specific example:

    Fri. evening after normal work is done, I do a diff backup so that with the last full backup, I...

  • RE: How to get Resultset in the order of Items given in IN clause

    I have used the following function for managing delimited strings in a list. It uses a Numbers table

    to return the string as a table.

    Do a search for Numbers table for...

  • RE: Filling in numbers

    Are you just wanting to grab the first unused barcode each time a new customer is generated or processed? Then use Jeff's/Lowell's statement with Min() on the insert/update.

    SELECT MIN(Tally.N) as...

  • RE: modification of SSIS package

    I am justing beginning to use SSIS and there may be a better way, but I have had to use a work around to edit packages saved in msdb.

    I...

  • RE: @@ROWCOUNT

    Thanks,

    I thought that was the case.

    So maybe there is an insert trigger on table1 that is changing the @@rowcount that is being returned. This would explain why the select...

  • RE: @@ROWCOUNT

    Can the actions performed by a trigger affect the @@rowcount returned?

  • RE: Calculating the Median.

    Itzik Ben-Gan has an article in sqlmag.com on this topic. He describes both a SQL Server 2000 a simpler 2005 solution.

    You might see if you can adapt it to your...

  • RE: Replace large table with 2 and view without breaking legacy app.

    Thanks Sergiy,

    I think that NULLIF(EffectId, -1) is going to do the trick.

    The business rule actually dictates that the original record added will have an EffectID of 0, but in most...

  • RE: Summary row for sql statement

    I have done something similar with a union. It would require a separate query to create the summary line and union it on the detail. In order to make it...

  • RE: I want to group the record co_id in the following way

    You're welcome.

    I'm glad it worked for you.

  • RE: I want to group the record co_id in the following way

    Since it seems to be char or varchar, if field only stores numeric values, the following might give the results you want:

    select * from testid order by rtrim(co_id) + 'ZZZZZ'...

  • RE: Like with Variable

    Hello,

    I have a table where I rely extensively on almost the same type of query. After reading this post, I just tested it again to be sure, but it does...

  • RE: Insert trigger causing errors in VB6 app.

    noeld,

    When the where clause was uncommented was when the VB app began getting the: "Row cannot be located for updating. Some values may have been changed since it was last...

Viewing 15 posts - 1 through 15 (of 26 total)