Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)

  • RE: COUNT(DISTINCT xxx)

    Andy,

    my apologies for quoting your name in my post.

    It seems that you have posted a second before I clicked Post reply so I read your name instead of Jerome's

  • RE: COUNT(DISTINCT xxx)

    Andy,

    you missed aliasing the distinct select.

    Try this:

    SELECT COUNT(*) FROM (SELECT DISTINCT marq FROM vehicule) as a

    Darko

  • RE: Login failed for user ''''sa''''

    On the client site check programs that are triing to logon to your SQL server.

    I had similar programs long tima ago, when password for 'sa' user was changed and SQL...

  • RE: Large Table Insert/Update Performance

    Hi,

    I'm not sure, what are your demands, but there are some thinks you can do to.

    1. Check the Where conditions and indexes in table B (source table).

    2. DROP all indexes...

  • RE: Stored Procedure with NTEXT argument

    Hi,

    problem is that T-SQL does not allow assigning value to image, text or ntext variable.

    If you wish to return value from ntext column from a table, use SELECT statement. You...

  • RE: Validating Unicode Data in StoredProcedure

    In SQL, if you want to specify unigode string you must use N'' style.

    in your case

    if ( @param1 = N'PING')

    BEGIN

    ...

     

    Darko

     

Viewing 6 posts - 1 through 6 (of 6 total)