Forum Replies Created

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

  • 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,...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • 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...

    SQL = Scarcely Qualifies as a Language

  • RE: Space Available for database is 0

    There a many cases where a simple 'sp_spaceused' will not return current space utilization and the information is out of date and this behavior is documented in BOL.

    To get absolutely...

    SQL = Scarcely Qualifies as a Language

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