Forum Replies Created

Viewing 15 posts - 721 through 735 (of 1,539 total)

  • RE: convert varchar to timestamp

    mysticslayer (7/12/2009)


    The issue here is that I get an parameter filled with quotes. This isn't accepted by SQL Server when executing the stored procedure. So I can't validate on the...

  • RE: Backups and Restores

    S Hodkinson (7/13/2009)


    We have now been requested to stop backing up the transaction logs

    It seems that the TSM will backup and restore everything in the future

    Just to clarify, the TSM...

  • RE: change back the db from emergency to normal

    While creating a new database, you've specified the path of the new data/log files where files with the names u've specified already exist. Either change the path or change the...

  • RE: RESTORE WITH MOVE

    isabel (7/12/2009)


    what will happen if my "TO" is similar to the original path of my mdf and ldf files? will it cause error that will interrupt my restore? or will...

  • RE: RESTORE WITH MOVE

    isabel (7/12/2009)


    I am scheduling a restore process of my databse, i am confused about the "MOVE" option. I don't know what to indicate in the "TO" destination. Is the "TO"...

  • RE: convert varchar to timestamp

    I changed the datatype of @TimeStamp parameter of the sp to TimeStamp and created some test data and i could select exact values

    -- create a test table

    create table #t

    (

    col1 int,

    timestamp...

  • RE: change back the db from emergency to normal

    I suggest you to go through THIS article by Gail. Very good explaination on what options we have when log gets full or missing.

    Edit-fixed the URL

  • RE: convert varchar to timestamp

    can you pls post an example of the format of source data that u want to be converted to datetime?

  • RE: change back the db from emergency to normal

    Sourav Mukherjee (7/12/2009)


    How to change it back ot normal?

    ALTER DATABASE abc SET ONLINE

  • RE: Recovery Mode & Log Shipping Poll

    I'd prefer Full as it would allow me to recover primary database to point in time(1) and any which ways log backups in bulk-logged recovery mode are (perhaps) larger than...

  • RE: Insert Steatment within Stored Procedure

    The error you posted looks like the user doesn't have sufficient privilages to insert data in Books table. Can you reconfirm that as well?

  • RE: Insert Steatment within Stored Procedure

    create table #temp1

    (

    fld1 varchar(10),

    fld2 varchar(10)

    )

    declare @sql nvarchar(500)

    declare @FIELDS nvarchar(500)

    declare @values nvarchar(500)

    set @fields='fld1'

    set @values='test value'

    set @sql='insert into #temp1 ('+@FIELDS+') values ('''+@VALUES+''')'

    --print @sql

    exec(@SQL)

    This code worked fine for me. Can you post the...

  • RE: 100 Million Records

    jclecordier (7/12/2009)


    I have 100 millions records of data and need to manipulate it. Please help...

    Are you worried abt performance or you just want help in insert/update/delete? In that case pls...

  • RE: regarding database

    Do you mean suspect mode, recovering mode....? Pls clarify more..

  • RE: How to Remove a character in the middle of a stirng

    Lynn Pettis (7/10/2009)


    select stuff('PQ19188PFHAA',10,1,'')

    Thanks Lynn. I'd never used that. Learnt something new here 🙂

Viewing 15 posts - 721 through 735 (of 1,539 total)