Forum Replies Created

Viewing 15 posts - 481 through 495 (of 621 total)

  • RE: Sending trigger output to text file

    Jeff Moden (1/3/2008)


    Yes... must it be a function or can you use a stored procedure to do the concatenation?

    I did not know you could do that. Functions are still...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Sending trigger output to text file

    Ok, I think I don't need the xp_cmdshell thing to make a text file(would still like to know how to do, though) I figured out that I can indeed...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Got stuck on Pivot/Transpose ?

    Kris, search Books Online for "cross-tab reports". The example is exactly what you need to do.

    Greg

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: What is the different between SQL MANGEMENT STUDIO and SQL ANALAYZER

    I am not sure if the express edition has it, but in Enterprize Manager, there is a button on the tool bar called 'Save change script', that looks like a...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: DateTime Problem

    Mike Levan (12/17/2007)


    yeah my Fromdate is a varchar as i told you and now i tried doing cast(fromdate as datetime) i get hte result set ok but with an error...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Adding a user with TSQL

    I was afraid of that, but thanks for the reply

    Greg

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: What objects does this user own?

    Thank you Steve, that led me right to the suspect view.

    Greg

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Selective Query

    Greg Snidow (11/15/2007)


    Ok, try changing s3.Stage1Id to s1.Stage1Id in the select statement

    Sorry, I meant to say SELECT DISTINCT s1.Stage1ID...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Selective Query

    Ok, try changing s3.Stage1Id to s1.Stage1Id in the select statement

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Selective Query

    Steve, I think this will do what you want.

    SELECT

    s3.Stage1Id,

    s3.ClosedBy,

    s1.Contact1Id,

    ...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Extract filename from fully qualified path

    Joe Barbian (11/14/2007)


    This time I thought I'd check with the experts first.

    Thanks again,

    Joe

    Joe

    I just want to make one thing perfectly clear. I am not to be included with the...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Extract filename from fully qualified path

    Thats pretty slick Lowell. I did not know about REVERSE. I also got

    SELECT SUBSTRING(@filename,1,LEN(@filename)-(CHARINDEX('\',REVERSE(@filename))-1)) AS Path

    to work for path. I guess you learn something new everyday. ...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Sending mail through SQL server 2000 with ASP

    ilhuhtin (11/14/2007)


    How do you trigger the mail / how do you assign, for example, the To field with Access? I bet the commands are quite similar.

    For most of the emails...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: delete duplicate value

    karthikeyan (11/14/2007)


    Hi

    Please tell me how to delete when no primary key..

    ...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Sending mail through SQL server 2000 with ASP

    I don't know about ASP, but with Access I can use VB to enter my parameters and execute my mail procedure from a form. I use one called send_cdosysmail,...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

Viewing 15 posts - 481 through 495 (of 621 total)