Forum Replies Created

Viewing 15 posts - 4,756 through 4,770 (of 7,429 total)

  • RE: Simple Recovery Model and Transaction Log

    None that I am aware of but simple mode is designed to keep the transaction log for all logged transactions until a backup that will truncate the log is performed....

  • RE: Dynamic Insert and Update...

    Sorry, I now have an example based on what you are doing. Try this

    CREATE PROCEDURE usp_InsertAnswersAboutThem

    @TableName varchar(100),

    @ColumnName varchar(100),

    @MemberID int,

    @AnswerID int

    AS

    DECLARE @FindMember nvarchar (2000)

    DECLARE @FindAnswer nvarchar...

  • RE: Calculation doesn't work when a row doesn't exist

    That would be correct as if any one of the subqueires where clause is not met no value is returned therefore it gives you null. Do the ISNULL on the...

  • RE: Dynamic Insert and Update...

    It will be because of these two lines.

    IF (SELECT @Findmember) > 0

    IF (SELECT @FindAnswer) > 0

    You will need to use sp_executesql with an output variable to get the values of...

  • RE: replacing dates with blanks

    Use a case statement in your query

    CASE ColEnd WHEN '12/30/5000' THEN '' ELSE CONVERT(VARCHAR,ColEnd,101) END AS ColEnd

    Then if the values is 12/30/5000 you will see nothing otherwise the date outputs.

    "Don't...

  • RE: Unable to create CmdExec job steps

    I would try reinstalling just the client utilities instead of whole server first.

    "Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)

  • RE: Daily Data xfer from Informix to SQL

    We do this will an Oracle database. What we do is in our our DTS package we define the Oracle side with a query to qurery the last modified date...

  • RE: Need alternative to sp_databases

    The information is stored in syslogins or sysusers (sorry no SQL Server here to double check). You can query the [name] column for the user ot the [id] column if...

  • RE: Stored Procedures & the Master Database

    I do it but generally for things I don't want people to know are there which are for me maintainence items. I have done for a few sp's that are...

  • RE: Old SPIDS

    First the teamed NICs should not be the cause as it should just be a total packet processing thing, connection should not open multiple times. Now as for closing I...

  • RE: Inserting special Characters

    The key to output a single quote is put two single quotes in the input such as ' would be submitted as '''' and '' single quotes submitted as ''''''.

    "Don't...

  • RE: how to drop system tables....

    It is not based on xtype but instead status column. When you use sp_MSmarksystem to make the table a system table you will find the only column updated is status...

  • RE: Moving DTS packages without DB

    You can also export the data from sysdtspackages and import to the other. Or you can do a backup and restore to another name (like tmpRestore) then insert to the...

  • RE: how to drop system tables....

    To the best of my knowledge, if they used sp_MSmarksystem to make it a system table or altering the status of the table in the sysobjects table will be an...

  • RE: Another Temp Table Question

    INSERT is a better option as opposed to SELECT INTO which does have known locking issues. Now as for your answer it would help to see you current code logic...

Viewing 15 posts - 4,756 through 4,770 (of 7,429 total)