Forum Replies Created

Viewing 15 posts - 76 through 90 (of 294 total)

  • RE: Please help , read the trn files names from a folder

    Yes, The easiest way would by to use oSQL (or sqlcmd, but I've never used that), and save the output file somewhere other than the DB server. Again, all...

  • RE: Please help , read the trn files names from a folder

    I have this in my toolkit, IIRC, it was written by Gregory Larsen. It reads the backup history from the msdb, and sorts out the NoRecovery, recovery for you.

    Of...

  • RE: Ping David Jackson

    I know this is nearly two years late, :w00t: but I've just spotted this. What an excellent addition. I'll test this avro and post it with due credit on...

  • RE: vbscript and sqldmo and backup.percentcomplete

    michael.anyone (8/28/2008)


    for wmi events there exist the WbemScripting.SWbemSink event sink which works fine but i have no idea how to implement a event sink for the sqldmo Backup event.

    *M*

    I think...

  • RE: Tivoli Storage Manager and backups

    I used TSM at the last place, approx 3 years ago, and I found the only issues I had were when restoring.

    As I've said on this page, restoring a SQL...

  • RE: Transposing the data in the table

    You can find the best info on how to do this in this article[/url]

    HTH

    Dave J

  • RE: Scripting Database Objects in SQL 2005

    From the script header 😉

    ' Instructions.

    ' To use this script, you need to create a project in VSS & create various sub projects.

    '

    ' ...

  • RE: Scripting Database Objects in SQL 2005

    balbirsinghsodhi (8/26/2008)


    Is there a way to script the database objects and store them in a file. I know how to script through wizard but I want to automate this process.

    Balbir,...

  • RE: Replace non numeric characters in string

    Peso (8/14/2008)


    Here is an updated version of fnExtractPostCodeUK function.

    Once again, many thanks

    Dave J

  • RE: Replace non numeric characters in string

    Peso

    many, many thanks. I owe you a beer. 😀

    declare @TestTab Table (add1 varchar(50) null, postcode varchar(50) null)

    Insert @TestTab values('Glossop', 'SK13 8LY') --Valid

    Insert @TestTab values('M1 1AA',NULL) --Valid but wrong field

    Insert @TestTab...

  • RE: Replace non numeric characters in string

    I have been looking at this

    set NoCount ON

    declare @TestTab Table (postcode varchar(50) not null)

    Insert @TestTab values('SK13 8LY') --Valid

    Insert @TestTab values('M1 1AA') --Valid

    Insert @TestTab values('M60 1NW') --Valid

    Insert @TestTab values('GIR 0AA')...

  • RE: Replace non numeric characters in string

    Jeff Moden (8/12/2008)


    I think Matt might agree with me on this one ( maybe not :hehe: )... you don't need the overhead of a RegEx CLR for simple post code...

  • RE: Replace non numeric characters in string

    I know I'm late to the party, but can anyone point me in the direction of Matt's CLR UDF for regex? I could use it for my Postcode validation...

  • RE: SQL script

    Like this?

    create table #t1 ([group] char(3), data1 int, data2 int ,data3 int)

    create table #t2 ([name] char(4), [group] char(3), data1 int, data2 int ,data3 int)

    insert into #t1 values('ONE', 60...

  • RE: Should I ask this Question?

    David Jackson (8/4/2008)


    More on this.

    So, I need to make the query that populates #fkeydefs better?

    No, I need to be smarter about building the join. 😉 I think I've got...

Viewing 15 posts - 76 through 90 (of 294 total)