Forum Replies Created

Viewing 15 posts - 436 through 450 (of 526 total)

  • RE: Backup mystery cleared!

    Try going into your query analyzer and run sp_helpdevice against both you master and user db's.

    I'll make a guess that SQL has/had attached your file(s) as a device. Therefore the...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Single User DB Status

    My guess is that the DB went to single-user mode after the log/disk was full.

    There are 2 ways to correct for this if the database is in full recovery mode...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: SQL Server Odd Behavior with Indexes

    Have you checked if the indexes are still there?

    Also have you tried running EXEC sp_updatestats against the database?



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Easy Update but Im doing something wrong

    Try something like this:

    UPDATE TABLE_A TA
    Set TA.op_datetime = (select TB.op_datetime
                        ...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Distributed architecture question

    IMHO, I would say that you should create a third "control" database. In the control database have a list of the required tables in the sub-database(s). Also include tables to...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Cant see server in list of servers

    I would suggest that you (or your network people) take a look at the TCP/IP settings, especially subnet masks, along with the DNS/DHCP, and if any routers/switches/hubs are blocking it...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Inserting records/assigning sequence # to key value

    That's all there is to it.



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Dynamic SQL statement

    Check the BOL for "SET QUOTED_IDENTIFIER" as in:

    When SET QUOTED_IDENTIFIER is OFF (default), literal strings in
    expressions can be delimited by single or double quotation marks. If a
    literal string is...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Inserting records/assigning sequence # to key value

    You need to change the SortId col to an Identity column with an increment of 1.



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Insert Trigger

    /** This assumes that the Table1 consists of

    Conf_Num, Purch_Last_Name, ID_Col

    and that you building the confirmation number from the same table. **/

    CREATE TRIGGER Add_Confirmation_Num
     ON Table1
    FOR UPDATE
    AS IF INSERT...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: sysadmin type access without update capability?

    I think (someone else jump in here) that if you create the userid in SQL and give them db_DataReader & db_DenyDataWriter and don't give them any other roles/permissions it should...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Kicking off users

    I know this is late in reply.....but I'm running into this problem now and found this old post.

    One of the catches in

    ALTER DATABASE %dbname% 
        ...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Prefixing syscolumns with a database name

    And if you want to be really sure, you can even go as far as naming the server such as

    ...

    .

    Note that if you are doing a link to a...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: backup filegroups

    Just do a complete backup. Or is this DB that huge?

    It will ask you where you want to backup and what filename.



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: How to make maintenance plan in SQL server

    I saw your post "Availability of SQL server when backup runs".

    I have my maint plans do them daily, but do not check them to run before backups. They will...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

Viewing 15 posts - 436 through 450 (of 526 total)