Forum Replies Created

Viewing 15 posts - 136 through 150 (of 789 total)

  • RE: SQL 6,5 restore problem

    Er, yuk! 

    As you're obviously finding out now, SQL 6.5 is a bit of a mongrel.  One major difference from SQL 7/2000 is that all information regarding the quite complicated makeup...

  • RE: Question of the Day for 25 Feb 2004

    My mistake Robert.... as we're often warned, the question text changed between newsletter (which omitted the Enterprise Manager bit) and what was on this site.  I failed to re-read it.

  • RE: Question of the Day for 25 Feb 2004

    Ah ha... Enterprise Mismanager!  I was wondering how so many people got the "correct" answer.  

    In that case the real correct answer is "ENTERPRISE MANAGER won’t let you put in a...

  • RE: Question of the Day for 25 Feb 2004

    oops

  • RE: Question of the Day for 25 Feb 2004

    My version of SQL 2000 does as BOL states... it allows/executes the restore and gives a message "This log file contains records logged before the designated point-in-time. The database is...

  • RE: Spilt string into seperate fields

    Phill,

    Some inline views may help simplify it:

    select
        Account,
        Address1 = substring(address, 1, delimpos1-1),
        Address2 = substring(address, delimpos1+1, delimpos2-delimpos1-1),
        Address3 = substring(address, delimpos2+1, delimpos3-delimpos2-1),
        Address4 = substring(address, delimpos3+1, delimpos4-delimpos3-1),
        Address5 =...
  • RE: Result sort order differs since DB Maint. Job

    Terry,

    You must always specify an ORDER BY to GUARANTEE that results will be returned in that order.

    More often that not, if your data is physically in the order that you...

  • RE: Spilt string into seperate fields

    I think it's just an example.  Phil will be combining results of charindex with other text handling functions (eg LEFT, as shown in his other example).

  • RE: Viewing SQL Trace Output

    You can use ::fn_trace_gettable to read trace files and/or load them to SQL tables.  Other undocumented extended stored procedures (eg. xp_dirtree and xp_getfiledetails) can be incorporated to determine the files generated by...

  • RE: Spilt string into seperate fields

    Phil,

    Prepare to kick thyself....

    it should be: CHARINDEX(';', [address])

     

  • RE: How to retrieve change date from stored procedures

    crdate gets set when you create or drop/create the procedure.  unfortunately it doesn't get touched when you alter the procedure.  as wz700 points out, schema_ver gets updated on alter... but...

  • RE: Question of the Day for 19 Feb 2004

    Wow Brian, you're getting to be an old softie.

    I've taken advantage of your offer.  Thanks.

  • RE: Question of the Day for 19 Feb 2004

    Why is Report Designer not a valid choice?  It allows creation and preview of reports.

  • RE: Is there any way to use LIKE in JOINS?

    I don't see why such a query wouldn't work.  The following works fine for me on both SQL 2000 and 7.0.

     

    use pubs

    select t.title, a.state

    from titles t

    inner join authors a on...

  • RE: Question about IDENTITY

    Unfortunately the IDENTITY function - which can generate incrementing numbers - only works with a SELECT INTO, not a normal SELECT.  So, to achieve the results you're after you may need...

Viewing 15 posts - 136 through 150 (of 789 total)