Forum Replies Created

Viewing 15 posts - 106 through 120 (of 141 total)

  • RE: Using MERGE for Audting

    illegal?

  • RE: Using MERGE for Audting

    Thanks Jason

    I had made that change.

    From now on I will use MERGE to replace Triggers for audit - all in one place.

  • RE: Using MERGE for Audting

    Thank you. Your example is easier to read.

    BTW I was restricting to only chnage rows by comparing the checksum values.

    I didn't know you could add additional filters after is matched...

  • RE: Size of a clustered index

    GilaMonster (9/27/2012)


    Close

    The non-leaf levels have just the key columns, leaf levels have all the columns in the table.

    Thats a clustered index you describe?

  • RE: Using Access to put data into SQL Server

    You're right.. I've muddied the waters somewhat..

    I guess though he like me works in a place where the Network Support Team would ask me to do it.

  • RE: Size of a clustered index

    Thanks

    I have a nonclustered index on this table with 2 fields numeric(8,0) + numeric(10,0)

    5 + 9 + 12 (datetime clustered index) = 26 bytes

    I Changed clustered index fields...

  • RE: Using Access to put data into SQL Server

    Your point in separating the code from the data is a very good one (accde I think you called it). I also luckly had no code in Access my code...

  • RE: Using Access to put data into SQL Server

    Hi

    I've linked Access to SQL Server via ODBC, it links to updatable views that a few selected users can use for read/write. The rest link to SQL via Access so...

  • RE: Problem with Grouping and max()

    SELECT * FROM [AD_in_Out LOG] as tLog

    INNER JOIN

    (SELECT USERID, MAX(CHECKTIME) as LastTime

    GROUP BY [userid]) as tREs

    ON tLog.Userid = tRes.Userid

    AND tLog.CHECKTIME = tREs.LastTime

  • RE: Difference between decimal and smallmoney

    Makes sense to me.

  • RE: Difference between decimal and smallmoney

    2 datatypes, one can store more digits in less bytes than the other, I must of missed something obvious here..

    I'm asking as I wanted to use decimal (9,3) for prices,...

  • RE: Installing SQL2000: Unable to update path variable - RegDBGetKeyValueEx

    Although a friend has managed to install in no problems I continue to have this problem.

    This product is not supported on Win7.

    To get around this I've installed it in XP...

  • RE: Is this a bug?

    Jeff I'll pass on your reagrds to them.

    I think the National lottery computer uses the same functionality many into one 😉

    I've learnt quite abit form this forum, long may it...

  • RE: Is this a bug?

    A badly written join will produce more results normally than expected, a cartesian product it behaves correctly. Set based stuff thats what SQL is about.

    This is a bug, that could...

  • RE: Is this a bug?

    Thanks Gila

    I tried the update and it did work. I'm certain I have had to change queries before to do

    set tbl1.field1 = MAX(tbl2.field1)

    I'm more confused now..

Viewing 15 posts - 106 through 120 (of 141 total)