Forum Replies Created

Viewing 15 posts - 466 through 480 (of 529 total)

  • RE: Output to file

    Export from Query:

    bcp "SELECT * FROM master..sysobjects ORDER BY name" queryout NameOfOutputFile.Extension -c -U"<<ValidSQLUsername>>" -P"<<PasswordOfSQLUser>>" -S"<<SERVERNAME>>"

    Import: Do a BULK INSERT to a #tbl, process you data and then do INSERT...

  • RE: Output to file

    Importing from a TextFile with T-SQL:

    BULK INSERT Test.dbo.inter_ExportJob FROM '<<NameOfOutputFile.Extension>>'

    Remember that the file has to be reachable from SQL server and be of the required structure. Look in BOL for...

  • RE: Output to file

    Use the 'bcp' command line utility.

    bcp "[database].[owner].

    " out NameOfOutputFile.Extension -c -U"<<ValidSQLUsername>>" -P"<<PasswordOfSQLUser>>" -S"<<SERVERNAME>>"

    Regards, Hans

  • RE: date problem with SQL 2000

    quote:


    Its about the Date() and Now() function in ASP Programming. Which date format will these functions adopt?


  • RE: Import from Excel Problem

    Importation from Excel yields also another kind of problem. Since the data sampling is beeing done with the first 8 rows of data sometimes unwanted results can arise. For example...

  • RE: SELECT returns different results due to login

    quote:


    Can anybody explain why one acct would return the complete resultset but the other account returns only one row?


    May 28, 2003 at 3:26 am

    #458777

  • RE: Variable where clause

    Thank you! That was excactly what I wanted to know 🙂

    But then I have another issue of discussion. I thought they could be related but maybe not.

    Our company upgraded both...

  • RE: Variable where clause

    Antares686:

    quote:


    But are you asking would it be better to write three SPs with a central one called but each having a unique...

  • RE: DTS to Excel Spreadsheet

    Thanks for all the pointers!

    I would prefer to do everything in the DTS and not having to call from VB everytime I run it. If a script is the way...

  • RE: DTS to Excel Spreadsheet

    Hello!

    Thanks for the response 🙂

    I would prefer not to use excel automation inside an SQL task (which I am not sure is working as our server lacks Excel installed). I...

  • RE: DTS to Excel Spreadsheet

    I believe I have the same problem. We (?) are trying to export to an Excel file with a name that is depending on a query (on an SQL DB)...

  • RE: Variable where clause

    Antares686:

    quote:


    In this situation where there is a minimal difference in with and without the variable on submit I personally prefer Steve's...

  • RE: xp_cmdshell permissions

    quote:


    I think if you create a stored procedure named abc that calls xp_cmdshell and grant EXECUTE abc rights to the given user,...

  • RE: Using the 'LIKE' comparison

    Scout7

    quote:


    Before I start looking into rebuilding all of my databases in order to change the collation settings, would having this...

  • RE: Inserting Records into multiple tables

    This seems like quite a complex question. It seems like you need someone to program your middle tier and I believe it could take some time to do this. It...

Viewing 15 posts - 466 through 480 (of 529 total)