Forum Replies Created

Viewing 15 posts - 1,096 through 1,110 (of 1,270 total)

  • RE: default schema and functions

    Now, you're contradicting yourself.

     

    I wrote:  "If there are two different functions with the same name but different functionality, how does SQL decide which one to use?"

    You wrote:  "It uses...

  • RE: One Publisher - Multiple Subscribers ... ok ?

    My mistake. My statement only applies to merge replicationn. I didn't realize until now that the rules were different for transactional and snapshot replication.

  • RE: One Publisher - Multiple Subscribers ... ok ?

    Unless there is a work around that I am not aware of, replication is not supported between SQL 2000 and 2005 where 2000 is the publisher. In order to replicate...

  • RE: Cannot drop,rename table

    If need be, you can kill all connections to the database except yours by setting it to single_user with rollback immediate. I use this in my restore commands. Like this:

     

    Alter...

  • RE: default schema and functions

    To implement a view like that for all users, you would have to have a view for each schema being used not to mention a version of the underlying tables...

  • RE: Cross database integrity

    The initial question was can you specify a primary key, not how to work around it, which is part of the reasons why I didn't initially suggest any work arounds....

  • RE: Cross database integrity

    Or create a view that references the table in the other database and reference the view in the check constraint. There are always work arounds, but then the question becomes...

  • RE: default schema and functions

    No, it's not a bug. It's the whole reason that schema's are used. It's the purpose that schemas provide. To separate objects.

    As a general rule of thumb, you should specify...

  • RE: Cross database integrity

    No, it's not possible.

  • RE: Issues running SQL2005 DB engine with databases in SQL2000 compatibility mode?

    If your databases are 100% MS compliant, the only issues that I have encountered so far is that the bells and whistles are not avaialble to those specific databases. The...

  • RE: Tracking Database Schema changes

    James brings up a good point. Although DDL triggers would generlly be sufficient enough, there are certain system procedures that do not fire DDL events. For example, sp_rename does not...

  • RE: Replace a string in an NTEXT field

    In SQL 2005, you should use varchar(max) and nvarchar(max) instead of Text and...

  • RE: cmd_shell..error

    Well, first of all, your second command isn't even a valid command so there's no way that it would be working for you susccessfully. You can not use string concatenation...

  • RE: Replace a string in an NTEXT field

    The Replace() function doesn't work on Text and NText fields in SQL 2000. You have to use SubString() and/or Stuff() and cycle through the column or variable changing the first...

  • RE: Replace a string in an NTEXT field

    Well, it'll be easier in all aspects of SQL 2005, not just SSIS, because the Replace() function will work on any data type.

Viewing 15 posts - 1,096 through 1,110 (of 1,270 total)