Forum Replies Created

Viewing 15 posts - 31 through 45 (of 148 total)

  • RE: SQL registration in Management STudio

    Somewhat, there are user ids, but it doesn't seem to be the one that is appearing.

    I just exported my listing, but it seems like it does not contain the user...

  • RE: sql not finishing or stuck

    I think I found part of the problem...which is that the index defrag routine requires page level locking, while the app requires row lock (page lock off). I'm not...

  • RE: My MSDB Database is over 25 GB on production server

    I tried running the uninstaller on the server and it still seems to think that it's installed. I have renamed the lakeside tables in msdb with back in front...

  • RE: My MSDB Database is over 25 GB on production server

    Do I need to run the uninstaller on the server? It doesn't seem to work when I run it locally. Also, the tables are still there in msdb.

  • RE: trace 1204, 1222 on

    Grant Fritchey (3/7/2013)


    I sure wouldn't turn on both. In fact, I'd suggest just using 1222, not 1204.

    How about taking a look at the system_health extended event session. It automatically captures...

  • RE: trace 1204, 1222 on

    Gazareth (3/7/2013)


    Which error log? That sounds like a user error message rather than one you'd see in the sql error log.

    In the SQL Server logs.

    IT seems to be...

  • RE: log restore to new db name

    No, I am trying to restore to a new database name while the existing one stays in place.

    I ended up having him restore the database to another server with the...

  • RE: Permission scripting over all databases

    For the new user, I'd it to generate a create user statement:

    USE [dbname]

    GO

    CREATE USER [mynewuser] FOR LOGIN [domain\firstname.lastname]

    GO

    Where mynewuser is paramater 1 and domain\firstname.lastname is second parameter.

  • RE: Generate DDL script to create table and all constraints

    Seems like it's working better as I'm getting output now.

    But this error is coming up:

    Msg 4145, Level 15, State 1, Line 35

    An expression of non-boolean type specified in a context...

  • RE: how to detect locking in t-sql

    Sorry, somehow I got the steps mixed up, first is actually

    Page locks = ON

    then the reindex

    then Page locks = OFF

    The application requires this setting, otherwise it generates errors during...

  • RE: how to detect locking in t-sql

    Here's the command:

    alter index [UQ__ICMUT012__130D42861D913A15] on [wpsdbJcr].[jcr_Sch].[ICMUT01279001] reorganize

    Here's the error:

    Msg 2552, Level 16, State 1, Line 1

    The index "UQ__ICMUT012__130D42861D913A15" (partition 1) on table "ICMUT01279001" cannot be reorganized because page level...

  • RE: how to detect locking in t-sql

    I turn it off because I receive an error that it cannot reindex them with page lock on.

  • RE: find text from another table

    I think I see the problem, somehow the column name has extra spaces, so I just added rtrim in the charindex.

  • RE: Generate DDL script to create table and all constraints

    I'm on SQL 2008:

    When I exec I get:

    Msg 102, Level 15, State 1, Line 35

    Incorrect syntax near 'Schema_Name'.

    Msg 102, Level 15, State 1, Line 37

    Incorrect syntax near 'obje'.

  • RE: Find and Replace in all stored procedures

    I have changed

    m.objectid to

    cast( M.object_id as varchar)

Viewing 15 posts - 31 through 45 (of 148 total)