Forum Replies Created

Viewing 15 posts - 1,906 through 1,920 (of 5,394 total)

  • RE: Linked Server Insert truncates string

    No. If you want people to respond on this thread, add a link on the old one and I'll delete the duplicate post link above.

  • RE: Dropping Image column

    GilaMonster (2/14/2012)


    I think this calls for another blog post added to the to-write queue. When I start blogging again I'm going to have no shortage of topics.

    See? My ignorance is...

  • RE: SQL Jobs

    What do you mean with "effected"?

    Modified?

    Currently locked?

    ...?

  • RE: Linked Server Insert truncates string

    Edit. Removed as requested.

  • RE: Dropping Image column

    GilaMonster (2/14/2012)


    I wish I'd seen this earlier...

    Dropping a column is a meta-data only operation. SQL just changes the metadata to say that the column isn't there any longer and bumps...

  • RE: Column Retrive using column id

    Jeff Moden (2/13/2012)


    I guess my only question would be... why are you doing this by column number instead of by column name?

    +1

    I guess you're complicating things too much.

    Can you...

  • RE: Insert statement results

    You could try Mladen Prajdic's ssmstoolspack[/url].

    It has a "script results" feature.

  • RE: Dropping Image column

    Thank you very much for the great feedback, George!

    I'm very surprised to see that the column was dropped instantaneously. I'm still wondering why.

  • RE: NT SERVICE\SQLSERVERAGENT

    Under which account is SQL Server Agent running? Is it [NT SERVICE\SQLSERVERAGENT] or a domain user?

    Please run this to discover the service account name.

    SELECT servicename, service_account

    FROM sys.dm_server_services

    WHERE servicename LIKE...

  • RE: Linked server Sql 2000 to Sql 2008 issue

    I don't understand what OSQL does here.

    I would connect to SQL 2000 with query analyzer as "RemoteSql" and try to query the linked server.

    Does this work?

  • RE: Linked server Sql 2000 to Sql 2008 issue

    Where does RemoteSql login come from? Is this the login used by the linked server security or the login that runs the Agent job?

  • RE: query to get first 2 records

    ekknaveen (2/13/2012)


    even if you can suggest me the general query which will work in all databases it would be great

    I don't think such a syntax exists. I'm afraid you will...

  • RE: query to get first 2 records

    This should do the trick:

    DECLARE @A TABLE (

    col1 varchar(3),

    col2 date,

    col3 int

    );

    INSERT INTO @A

    SELECT 'us', '01/01/2012', 10

    UNION ALL SELECT 'us',...

  • RE: ELSE\IF Trigger

    You're welcome. Glad I could help.

  • RE: How to get column values in a comma separated row values ?

    Maybe.

    If you post table scripts, sample data and expected results based on sample data things would be much easier for us.

    Please, read the article linked n my signature line and...

Viewing 15 posts - 1,906 through 1,920 (of 5,394 total)