Forum Replies Created

Viewing 15 posts - 12,346 through 12,360 (of 13,465 total)

  • RE: Insert Trigger Behavior Change?

    can you post the trigger you are using for SQL2005? Also, could it be that you changed the trigger to After insert or something on 2005, when it was...

  • RE: EOL tag to ntext variable

    char 13 is a Carriage Return (vbCr) also known as

    char 10 is a Line Feed (vbLf) also known as \r (i think)

    in most PC based files, you'll find vbCrLf...

  • RE: Purchased software cannot connect to sql server

    much more likely to be a DNS issue i would think; since it appears to happen once in a while, and not 100% of the time, I'd venture the guess...

  • RE: recursive sum for a general ledger balance

    the trick is to group by portions of the account number.

    this produces the results you were looking for:

    CREATE TABLE #Accounts (AccountNumber varchar(30), ParentAccountNumber varchar(30) )

    insert into #Accounts(AccountNumber ,ParentAccountNumber)

    SELECT '100-000-000',NULL ...

  • RE: That annoying millisecond

    you could convert to int, which would be the number of days since the beginning of time(according to sql server that's 1900-01-01 00:00:00.000)

    SELECT getdate(),CONVERT(int, GETDATE())

    2007-10-03 23:07:05.640 ...

  • RE: Strange behavior of UPDATE statement

    you get a rows affected for every sql statement performed. that means select,update,insert or delete statements each return the rows affected.

    sounds like you had either a cursor or loop that...

  • RE: How do I Change The DB\Instance name

    you cannot rename an instance, it has to be uninstalled and a new instance with the correct name needs to be created. that means backing up non-system databases, and then...

  • RE: replicate DEV box - job failed

    also, a DTS job is slower thant he time it takes to backup, copy and restore a database, as well as being prone to the changes you are seeing.

    I'd recommend...

  • RE: Querying the max row length

    the thing about color is that you MUST enter the double quotes to get it to work.

    input = #0000FF is BAD

    input = "#0000FF" is GOOD

  • RE: obtaining a users access to databases and access within a database

    you are right....the actual permissions are stored inside the database, and not in any master table.

    this is by design, so when you backup and resotre, the permissions for the objects...

  • RE: Dual NICs

    it's handled automatically by the operating system;

    you might have one nic that has an internal IP for your network, lets say 192.168.1.50

    the other NIC might have an IP address on...

  • RE: HELP WITH AUTOGENERATED INSERT

    we had a similar issue in our shop...we needed to merge two databases together, with each table having different data, but possibly the same identity() values.

    we had to build...

  • RE: Querying the max row length

    Jeff was just fiddling with it...add a reply, emails get sent, delete teh reply, the link in the email can't find the posted reply. expected behavior.

    WHY he was testing, we...

  • RE: More newbie system table help

    Jeff Moden (10/1/2007)


    Heh... those are fun but I like the real-life questions that teach why or why not to do something... for example...

    1. How many internal rows will be...

  • RE: count non null values

    this would give you the sample structure to test each column in a single pass...is that what you wanted, or did you want where an entire row was null?

    select SUM(CASE...

Viewing 15 posts - 12,346 through 12,360 (of 13,465 total)