Forum Replies Created

Viewing 15 posts - 2,851 through 2,865 (of 5,356 total)

  • RE: America bombs UK!!

    Sure, that this is not an old radio interview with Ronald Reagan, which recently was discovered again?

  • RE: Please Help!!!!!!!!!!!!

    If you have the choice between Access and SQL Server, use SQL Server.

    As your app will be exposed to the web, it shouldn't matter from where they log in....

  • RE: Problem with NOT EXISTS

    Yes!

    There's always more than one way to skin the cat (Hey, did anybody notice I learned a new phrase )

  • RE: Revert back to old forum software

    Language barrier:

    Ich muss jetzt mal eine Lanze für die neue Forumsoftware brechen

    I like the new forum. Definitely something to get used...

  • RE: OLE Object Replacement in Sql Server

    I think you need to state the appropriate content type like this (Excel in my example)

     

    Response.Clear Response.Buffer = true

    Response.Expires = 0

    Set oConn = ConnectAttachment()

    Set oRecSet = Server.CreateObject("ADODB.Recordset")...

  • RE: SQL Standard Magazine

    Andy,

    you didn't say anything about availability outside US.

    Anything new on this?

  • RE: Problem with NOT EXISTS

    I might be wrong, but IMHO in almost any case using (NOT) EXISTS will be faster to check for existence, because EXISTS can stop once the logical test proves true.

    But that's...

  • RE: Need help converting chars to a date result

    Hm, obviously I missed the char description. Gladly char with leading 0s will turn without problems into int.

    Jonathan, nice to see you started correcting wrong answers again!!!

  • RE: Need help converting chars to a date result

    Not sure if this will really help, but what about

    declare @myyear int

    declare @mydays int

    declare @startofyear datetime

    set @myyear = 3

    set @mydays = 57

    set @startofyear =dateadd(d,@mydays-1,dateadd(yy,@myyear,cast('01.01.2000' as datetime)))

    select @startofyear

                                                          

    ------------------------------------------------------

    2003-02-26 00:00:00.000

    (1...

  • RE: Identity column increaments randomly

    Define the identity property is no guarantee for a gapless sequence.

    CREATE TABLE MyIdentity(

    id INT IDENTITY(1,1) NOT NULL,

    some_other VARCHAR(10)

    )

    GO

    BEGIN TRAN

    INSERT INTO MyIdentity VALUES('Erster')

    COMMIT TRAN

    BEGIN TRAN

    INSERT INTO MyIdentity VALUES('Zweiter')

    ROLLBACK TRAN

    BEGIN TRAN

    INSERT INTO MyIdentity...

  • RE: Trigger on invalid ID

    I'm not sure if I understand you.

    Do you want to test before actually inserting?

    Is the ID some kind of key?

    Can you give some more information?

  • RE: SQL Standard Magazine

    I guess right now, we don't have to worry about that, David.

    It seems not to be available outside the US, or...?

  • RE: How Create a store procedure from another store procedure

    I think rockmoose means a user-defined function that returns a table. From BOL

    CREATE FUNCTION LargeOrderShippers ( @FreightParm money )

    RETURNS @OrderShipperTab TABLE

       (

        ShipperID     int,

        ShipperName   nvarchar(80),

        OrderID       int,

        ShippedDate   datetime,

       ...

  • RE: Identity (Autonumber)

     

    Monday morning

  • RE: OLE Object Replacement in Sql Server

    Can you post your asp code?

Viewing 15 posts - 2,851 through 2,865 (of 5,356 total)