Forum Replies Created

Viewing 15 posts - 691 through 705 (of 1,132 total)

  • RE: index corrupt with bit field

    There are quite a few fixes for indicies on columns with a datatype of bit.

    Do you have Service Pack 4 installed ?

  • RE: Refining my (simple) SQL queries

    As all select statements return a relation and anywhere that a table, which is a relation that has physical existance,...

  • RE: Audit Logout

    "So it took 354 seconds for the user 'webuser' to log out of the SQL Server? That doesn't sound right, does it?"

    No, the duration column indicates that time length of...

  • RE: Search function

    SQLServerCentral is only for Microsoft SQL Server but you are connecting to an Oracle database!

    You are also using the function "to_date", which is proprietary to Oracle and has a different...

  • RE: 701 Error: Insufficient System Memory

    There are conflicting KBs for the non-buffer pool memory which results in confusion for DBAs and PSS.

    In my case, as the SQL Server was hanging every few...

  • RE: 701 Error: Insufficient System Memory

    Yes, with SQL Server 2000 where a single instance has over 4,000 user databases.

    Solution was to add "-g392" to the startup parameters and then restart SQL Server.

    See http://support.microsoft.com/kb/316749

    "There may not...

  • RE: Upsert or Merge 2 Tables?

    Here is another solution that might use less resources:

    select new.PartTypeNum

    , new.PartNum

    from new

    union all

    select old.PartTypeNum

    , old.PartNum

    from old

    where not exists

    (select 1

    from new

    where...

  • RE: Upsert or Merge 2 Tables?

    create table Merged ( PartTypeNum, PartNum)

    go

    insert into Merged ( PartTypeNum, PartNum)

    select coalesce (new.PartTypeNum, old.PartTypeNum)

    , colalesce (new.PartNum, old.PartNum)

    from new

    FULL OUTER JOIN old

    on old.PartNum = new.PartNum

    From SQL Server Books On Line

    A...

  • RE: Misbehaving Primary Key

    This message may have an underlying cause of logical memory corruption but not neccesarily any physical corruption. Hence, checkb will show no error as it checks the physical storage.

    If...

  • RE: Position of frequently searched for fields in table

    "I believe it is best to have frequently searched fields of a static size early in the table therefore I want to move these fields to closer to the start...

  • RE: SETUSER problem

    Error trapping in SQL Server 2000 works on a hit and miss basis and what works with one Service Pack does not work with another. See Erland Sommarskog's home page...

  • RE: T-SQL Help

    Frequent Question - see "How do I concatenate strings from a column into a single row?"

    http://databases.aspfaq.com/general/how-do-i-concatenate-strings-from-a-column-into-a-single-row.html

  • RE: shrinkdatabase taking looooong time

    With 10,000 RPM RAID 5 drives, yes, this will run for a very long time. Do not be suprised if the run time exceeds 40 hours.

    Recommend:

    15K RPM...

  • RE: Active-Active or Active-Passive Clustering

    A word of caution regarding clusters as they can create more problems than they solve.

    Some cases in point:

    a) I am on call this week and between Saturday at 9...

  • RE: Generating a script for database

    If you are using Enterprise Manger to generate the SQL script, there are some options on the Format tab that may need to be enabled. Try the "Include extended...

Viewing 15 posts - 691 through 705 (of 1,132 total)