Forum Replies Created

Viewing 15 posts - 3,286 through 3,300 (of 6,036 total)

  • RE: ORDER BY not working as it should

    The behaviour you watch follows ANSI standard.

    According to it ORDER BY looks for a column(s) with name(s) specified in outgoing resultset. If it can find specified column it sorts by...

  • RE: insert

    I don't have a chance to run proper tests now, but I would not say this if one of my colleagues would not destroy production database by an UPDATE statement...

  • RE: Table locks resulting from trigger

    You did not answer the question:

    Can you provide an example of your INSERT statement?

    Insert into OEORDH?

  • RE: Querying remote database

    For remote calls ALWAYS use quoted identifiers.

    And it must be double quotes, not square brackets. Because of the drivers implementation.

    select * from "mysql"."database"."dbo"."cust702"

    And don't overuse remote calls.

    They are extremely...

  • RE: Import

    Mike Levan (11/9/2007)


    I have 5 Db's and the test DB on the server.

    You have at least 6 DB's:

    master, tempdb, model, msdb, pubs, probably Northwind, and you "test DB" is 6th...

  • RE: insert

    Greg Snidow (11/9/2007)


    Mike Levan (11/9/2007)


    I dont have any link to the table to update, can i update by querying where field='' something like tht?

    This should do what you want

    UPDATE tableA

    ...

  • RE: Dynamic database name

    David Burrows (8/9/2006)


    [Code]

    SET @dbname = 'sysobjects] SELECT ''Hello, you are hijacked'' sp_password @old = NULL, @new ='whatever', @loginame = 'sa' --'

    [/Code]

    How simple is that?

  • RE: Import

    Start from here:

    I have 5 DB's A,B,C,D,E and importing data from these 5 into a test DB.

    Where have you got this piece of information stored?

  • RE: insert

    Since the row are already inserted you need to update them.

  • RE: How to group by Academic Year..

    Dfalir (11/8/2007) the management tells me the academic year is from 1st of September (2005) till the End of June (2006) and so on for the year

    OK, now not...

  • RE: Using Variables as column names in select statement

    Lowell (11/7/2007)


    Thanks Theo; I really need to test that myself , as I clearly don't make enough triggers; I should have known that...i assumed that the tables would only be...

  • RE: Table locks resulting from trigger

    Can you provide an example of your INSERT statement?

  • RE: Table locks resulting from trigger

    Is it everything you've got in the trigger?

  • RE: Recursive Code without using SP

    Jeff Moden (11/6/2007)


    True enough... and nicely done. I was being a bit sarcastic because the OP didn't want to use a stored procedure... I went a bit overboard with...

Viewing 15 posts - 3,286 through 3,300 (of 6,036 total)