Forum Replies Created

Viewing 15 posts - 7,411 through 7,425 (of 7,470 total)

  • RE: Creating a user

    are you running in mixed / nt / sql security mode ? (check in Enterprise manager / server / properties / security) If nt-security is enabled or mixed-mode , you...

  • RE: Is the Schema Still Needed?

    dbo = dust between objects 😉

    It is annoying that members of the db_owner group don't create dbo-objects by default. They are not adapted to always mention the object-schema, but if...

  • RE: Is the Schema Still Needed?

    I guess problems with schema started when ms introduced a "everyone" schema : DBO.

    Making a "transparant" option is a terrific way to mistify objects.

    Backside of this implementation is (of course)...

  • RE: Help Debug Statistics Script

    my first impression :

    "SELECT @sSQL = 'EXEC ' + @srvName + '.master.dbo.DatabaseSummaryInfo'" would mean you have defined all @srvName-servers as linked server on the server where you run the script.

    I...

  • RE: Why is my database so Large?

    Use clustering indexes so a dbcc dbreindex also affects your datapages. check your fillfactor settings. run sp_statistics and updateusage to get correct numbers. check BOL.

  • RE: NULLs' effect on Indexes

    nulls are indexed. create a unique index on a nullable column and then try to insert 2 rows with null for that column. In that case null = null.

    I...

  • RE: Joins vs one flat table

    check Denormalisation on the web. There a whole set of info needed to take that decision

  • RE: select and lock next key value

    create a parameter-table with a column "lastkeyvalue". Read that value for update and than its all up to you. Others cannot reach it until you release it.

    That is if you...

  • RE: Copy DB using Copy Wizard

    This is how I resync users.

    -- login sync

    -- print db_name()

    use userdb -- User-db

    go

    print 'print @@servername + '' / '' + db_name()'

    print 'go'

    go

    declare @username varchar(128)

    declare @Musername varchar(128)

    declare @IsNtName bit

    declare @sql_stmt...

  • RE: Hierarchy Modelling

    erata : "decoment" should be "document"

    / "relaton" should be "relation" 😉

  • RE: Hierarchy Modelling

    assuming a unit has only one "parent"-unit, you could have an entity "company" an other entity "Units" with a relation to "company" and a third entity "UnitRelations" where you decoment...

  • RE: SQL Server to DB2

    In QueryAnalyzer you could you "show execution plan" or "display estimated execution plan".

  • RE: tHow to remove add user from DB_OWNER role.

    SQL2000 ? Make the user DDL-admin in stead of DB_owner. Look at BOL.

  • RE: FYI - Issue between 7 and 2k

    Thanks to implicit conversions. Rule 4 never thrust a default-behaviour. And it strikes when you don't expect it.

  • RE: Right Character Truncation

    try it with substring(text,1,case when len(text) > your_max_length then your_max_length else len(text) end.

Viewing 15 posts - 7,411 through 7,425 (of 7,470 total)