Forum Replies Created

Viewing 15 posts - 12,376 through 12,390 (of 13,469 total)

  • RE: equivalent column in sql server 2005 for cdefault column of syscolumns table

    yep already created view for you. try

    SELECT * FROM INFORMATION_SCHEMA.COLUMNS

    you'll see it has the definitions for all the columns int he database, including what that default value is.

  • RE: Analyzing a T-Log, problems

    well WITH TRUNCATE_ONLY would truncate the log, but that's only whent he backup occurs.

    if you restored it locally, made sure it was set to Full, and then updated a...

  • RE: Analyzing a T-Log, problems

    the server is local or remote from where you installed SQL Log Rescue? i know you have to install the extended stored procedures on each instance you want to use...

  • RE: Analyzing a T-Log, problems

    in order to use SQL Log Rescue, the database Recovery Model Option had to be set to "Full" and not "Simple" prior to the UPDATE event occurring. Check the properties...

  • RE: SQL Data-Wiping

    usually you want to delete data in certain tables, but not "lookup tables".

    the script below will delete/truncate every table in foreign key hierarchy order, but you should add to the...

  • RE: insert-update help

    Best (9/27/2007)


    table in which update has to be done --------------------Table a

    table from where update has to be made----------------Table b

    table structure of Table a--------------------contactid,lastname,firstname

    table structure of table b-------------------leacode,lastname,firstname

    table structure of table...

  • RE: DateName Query

    in the ORDER BY section of a statement, you can refer to data by the alias that was assigned to it, isntead of the function. will that help you out?

    ie...

  • RE: Help with SELECT involving 2 tables !!!

    What have you tried so far?

    This looks a lot like a homework question, so please bear with me;

    in order to get information from two tables, you want to use a...

  • RE: Data READ Auditing

    yep your right...select statements don't produce a loggable item, so there's no way to track who reads a table, unless you set up a profile.

  • RE: Error Severity

    select * from sys.messages will give you the error text as well as severity, etc.:

    message_id

    language_id

    severity

    is_event_logged

    text

  • RE: Stored procedure trouble with sp_executesql

    isn't this the problem?: @tradeid ahs a single quote, which would stop theprocess, and then all the other varables need doublesingle quotes, like @vcDeptName = ''IF-PM'',

    exec sp_executesql N'sp_UpdateProcessedTrades',...

  • RE: Whoa! @table variables unaffected by Transaction

    yeah i agree; it's just my knee jerk reaction was "but it's in a TRANSACTION", like that makes up for everything.

  • RE: Identity Value missing -- SQL 2000

    if you start a transaction, insert, and then rollback due to a business decision, your identity will increment, but no error is thrown. a missing identity value does not necessarily...

  • RE: Finding system_user

    you can use the function USER_ID() and USER_NAME() inside your trigger, and there is a bunch of system functions like APP_NAME and others that might be helpful for auditing/logging. look...

  • RE: SQL to list technicians and traffic controllers

    show us the query you have done so far, so we can offer suggestions with your homework; you won't learn if someone just gives you the answer.

Viewing 15 posts - 12,376 through 12,390 (of 13,469 total)