Forum Replies Created

Viewing 15 posts - 43,471 through 43,485 (of 49,571 total)

  • RE: Ok, its their first day on the job.

    Duran (10/29/2008)


    The person sits down next to you and pulls out a couple of t-sql manuals and sticks them on the desk, because although they can write stored proc's, functions...

  • RE: Segmentation fault in tempdb

    Can you post the entire error message please. SQL doesn't have a native error that refers to segmentation, so unless it's a user-defined error (error number > 50000), it's not...

  • RE: Ad hoc updates to system catalogs are not allowed in sql 2008

    You change the code so that it doesn't try to update the system tables. Then you run a checkDB to see how much mess there already is in the DB's...

  • RE: scheduling a profile trace

    You can set an end time when you create the trace. It's an optional parameter to the create trace proc.

    What I typically do with the files is add the...

  • RE: How to delete...

    If all you want to do is remove the P character from the columns, then this will work

    UPDATE SomeTable

    SET SomeColumn = REPLACE(SomeColumn,'P','')

    WHERE SomeColumn LIKE...

  • RE: constructing a stored proceedure

    debbie.coates (10/29/2008)


    If I did it this way, would I then have to define all the columns headings/size etc ?

    Yes.

    CREATE TABLE #MyTable (

    ....

    )

    If you don't want to type, then on a...

  • RE: Clustering

    Hany Ahmad (10/29/2008)


    Thx For your replay.

    what i m trying to do is that i need to cluster the database for recovery at the same time with performance.

    Clustering is not a...

  • RE: Why we need to use UPDATE STATISTICS ?

    ALZDBA (10/29/2008)


    Actually yesterday I ran into a pk having NULL for stats date, and the table contained +/- 9000 rows.

    A secondary index did have a stats date...

    Coincidentally, I ran into...

  • RE: how to Split DateTime value in seprate date and time column

    Getting the date only is fairly easy

    select dateadd(dd, datediff(dd,0, getdate()),0)

    Easiest way to get the time is probably to convert the date to varchar and use substring to get the time...

  • RE: The process could not execute 'sp_replcmds' on '--Name withheld--'.

    It might, but then you'll have to reinitialise the replication. I'm concerned about that error recreating transactions from the log.

    Just to be safe, can you run the following command...

  • RE: restoring encrypted content

    It might. I don't know where reporting services stores its keys.

    First check and see what's missing. If it is just the connection strings on the data sources, it shouldn't be...

  • RE: sql auditing triggers

    nzubaria (10/28/2008)


    Hi

    Actually I am Developing a Database Auditing Infrastructure. I am working in SQL Server 2005.

    So my main focus of area is "SQL Triggers" and "stored Procedures". I ask...

  • RE: Locks held by a deleted log-in

    todd_dawson (10/28/2008)


    Well I tried tracing the listed event categories, and got no results, so I traced every transaction on the server, if it could be checked marked I checked it....

  • RE: Updating Aging Databases

    Wayne West (10/28/2008)


    I'd like to see what the number of users who've posted in the last year is. But that's just me.

    I'd hazard a guess that most of...

  • RE: Most recent date / most recent sequence where site not in

    What would the output be for the sample data given?

Viewing 15 posts - 43,471 through 43,485 (of 49,571 total)