Forum Replies Created

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

  • RE: OpenRowset Query

    You need to enable advanced options before running sp_configure 'ad hoc distributed queries', 1;

    sp_configure 'Show Advanced Options', 1;

    Go

    Reconfigure

    Go

    sp_configure 'ad hoc distributed queries', 1;

    Go

    Reconfigure

    Go

    If you are using SQL 2008 will...

  • RE: Question of the Day for 27 Mar 2007

    I think that your question is very poorly worded, I have upgraded MSDE database to versions other than SQL Express. I may not be able to upgrade the engine but...

  • RE: can I stop OSQL output from wrapping?

    Try using the -w switch to control the width of the output.

     

  • RE: simple query question. please help a noobie

    This could also be completed using one query by joining the two tables like this,

    SELECT TOP 1 Survey.job_num, Projects.[Job Number]

    FROM Survey Inner join Projects on Projects.[Job Number]= Survey.job_num

    ORDER BY Survey.SurveyID...

  • RE: select top 10 and more.

    If you are using SQL 2005 you could try, I'm not sure if SQL 2000 will allow the use of a variable in the top clause.

     

    Declare

    @Top...

  • RE: Dynamic sql 4000 character limit workaround problem.

    I think that with SQL 2000 sp_executeSQL has a limit of 4000 characters on the first parameter, so you cannot concatenate strings that will exceed this in total.

    EXEC statement will allow you to...

  • RE: SQL Express Command Line Management

    You can use the Surface Area Configuration tools to set the remote network protocols

  • RE: OSQL and GO

    Hrishikesh statement will not create the stored procedure if it already exists because of the else statement, remove this and the script will work.

  • RE: Read-only and Replication

    Why don't you give the users of that database db_datareader role and not db_datawriter role, that way the user can only access the information and not change it.  As long...

  • RE: transfer records between two server????

    Using BCP is a good option if you are transferring all columns in the destination table otherwise the import will probably fail, it is a failing of BCP program.

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