Forum Replies Created

Viewing 15 posts - 166 through 180 (of 232 total)

  • RE: sending query results via HTML mail

    yisaaacs (1/19/2009)


    Hi, im trying to send query results as HTML mail. i will setup up a job to run this daily.

    its nothing complicated, but im having trouble formatting the resultset...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Data Compare in Two Tables

    Jack Corbett (1/19/2009)


    Maxim has pointed you in the right direction. Keep in mind that you can use all comparison operators in join's.

    jack isn't is good to use WHERE EXISTS...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Excel To SQL Server

    geetanjaliks (1/12/2009)


    Hello All,

    I am trying to copy excel data which is getting updated continuosly to a SQL server table....

    Why don't you go for SSIS?

    Abhijit - http://abhijitmore.wordpress.com

  • RE: how can we see the user defied function's code

    the same way sp_helptext 'fnc'

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Object does not exist error is getting if VIEW DEFINITION denied

    C.K.Shaiju (1/19/2009)


    I have denied VIEW DEFINITION permission of all the objects of a database for a particular user. But he is getting an error like "Object does not exist or...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: SSIS is slow from Stored Procedure than Business Inteligence studio

    surya.narayana (1/15/2009)


    Hi,

    I have SSIS package which has 5 dataflows and each dataflow copies around 10 million records. When i execute this package from Business Intelligence studio, It was completing in...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Can we change owner of an object to sys

    AShehzad (1/18/2009)


    Is it possible to change owner of an object to sys? If yes then what privileges will be required for it.

    Regards

    you cannot change it to sys, Sys schema is...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Locking

    it's not the problem of open transactions, the user does not have permission to view the table(GRANT)

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Need output as 1,2,3,...10

    AS said this can be done by usning FOR XML path also....

    SELECTSTUFF((

    SELECTDISTINCT ', ' + cast(object_id as varchar(10))

    FROMsys.objects

    FOR XML PATH('')), 1, 1, '') AS 'Ids'

    Abhijit - http://abhijitmore.wordpress.com

  • RE: How to deploy a encrypted procedure on the client machine.

    Its not possible to deploy the stored proc w/o script. You have to run the script on client machine.

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Difference between inner join and cross join?

    In simple words...

    Inner Join returns matching records from two or more tables.

    Cross Join --Returns carteian result. E.g tableA contains 2 record, tableB contains 10 records. using cross join the result...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: joining of two tables

    its wrking used the same query olny retrived distinct records from tmpPoj..:)

    SELECT tmp.PojID, tmp.Cat,

    SUM(Case...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: joining of two tables

    here's your answer...

    DROP TABLE tmpPoj

    DROP TABLE tmpCat

    CREATE TABLE tmpPoj

    ( PojID INT, Cat VARCHAR(10), Total INT )

    CREATE TABLE tmpCat

    ( CatIDINT, Cat VARCHAR(10) )

    INSERTtmpPoj

    SELECT1, 'A', 1 UNION

    SELECT1, 'B', 2 UNION

    SELECT2, 'C', 10...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Insert where combination of two fields are NOT present

    As you mention,

    For a valid insert the tracks table may contain a record with the same grProductID or the same grRecordingID (as in the source tables), but NOT the same...

    Abhijit - http://abhijitmore.wordpress.com

  • RE: Copy primary keys from one table to another (SQL2K)

    can you elaborate it more what operation you want to perform primary key on schema / data?

    Abhijit - http://abhijitmore.wordpress.com

Viewing 15 posts - 166 through 180 (of 232 total)