Forum Replies Created

Viewing 15 posts - 46 through 60 (of 789 total)

  • RE: How to recover updated data in sql server

    Senthil Varadharajan (10/19/2010)


    Hi Dugi,

    While running the update statement, missed to select the where condition. So i need to restore data using the transaction logs. Can i know the process to...

  • RE: How to recover updated data in sql server

    Can you describe your problem more what happened and what are you trying to do ...!!! However if you have backup you can restore it ...!

  • RE: Records Deleted

    Well you are going to create table where you will save the deleted records;

    CREATE TABLE DELTAB

    (

    id VARCHAR(100),

    part_number VARCHAR(100),

    erial_no VARCHAR(20),

    good_qty INT,

    bad_qty INT,

    locationname VARCHAR(20),

    employeeno VARCHAR(20),

    createdby VARCHAR(50),

    creationdate DATETIME,

    lastupdatedby VARCHAR(50),

    lastupdatedate DATETIME,

    lastupdatelogin VARCHAR(50),

    downloadstatusflag VARCHAR(50),

    downloadby VARCHAR(50),

    downloaddate...

  • RE: Records Deleted

    Tell us table definition and we can provide with the exact trigger ...!

    Or if it is not allow to post you tab definition, you can try something like this:

    CREATE THE...

  • RE: One Million Posts

    Proud to be part of this great SQL Community ... Congrats and wish you (contributors) all the best ...!

  • RE: Difference between sys.objects & sys.all_objects

    pshaship (9/27/2010)


    Hi,

    What is the difference between the results displayed by sys.objects & sys.all_objects

    I have executed the below in AdventureWorks database:

    select * from sys.objects -->Returns 575 row(s)

    select * from sys.all_objects-->...

  • RE: Transfer logins and passwords from SQL Server 2000 to SQL Server 2008

    MudLuck (9/22/2010)


    ...

    Trying the idera tool now to see what type of tact that took to solve the problem..

    Let us know if you succeed with Idera tool!?

  • RE: database mirroring limitations in standard edition of SQL Server 2008

    You can check for some info here ...>>> http://tinyurl.com/2u73lwf

  • RE: tsql retrieve records on date

    zawhtway (8/21/2010)


    Hi,

    I wanna retrieve records for today. But not working?

    Any idea?

    select freedate from holidays where freedate = (getdate())

    how can I retrieve for specific date?

    rgds,

    zhtway

    You can do it like this:

    SET DATEFORMAT...

  • RE: SUBSTRING

    scott.pletcher (8/5/2010)


    Lol. Not sure, just an idea that pops into your head.

    When you look at the output of version, you see that the first four consecutive digits in the...

  • RE: SUBSTRING

    AndrewSQLDBA (8/5/2010)


    Yes, I think it is really Great. I would have never thought to use it, that is why I asked on here.

    Very nice script

    Thank You again

    Andrew SQLDBA

    This is the...

  • RE: SUBSTRING

    scott.pletcher (8/5/2010)


    SELECT SUBSTRING(@@VERSION, PATINDEX('%[0-9][0-9][0-9][0-9]%', @@VERSION), 4)

    That's great!!! - really!

    Can you explain little bit, how you find the idea, to use PATINDEX like this in your very nice & simple script...

  • RE: Thank you for the index, DBA!

    I vote for both, salary & positive feedback!

    I think some of you (DBAs) do not have idea how you will feel yourself if you as a very good DBA...

  • RE: Sql Managementstudio

    premkuttan.lakshmanan (8/4/2010)


    virus update is happening daily so i think there should be some other issue.....even in error log file there is no entry for this

    It can be something corrupted at...

  • RE: Sql Managementstudio

    Did you scan you machine for viruses!?

Viewing 15 posts - 46 through 60 (of 789 total)