Forum Replies Created

Viewing 15 posts - 316 through 330 (of 2,487 total)

  • RE: Instance name on a report

    Yes definitely a workaround. One of these days we might be able to include field data in headers/footers. How hard can it be? It'd be just something along the lines...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Instance name on a report

    Yes that is the way to get field data into the headers and footers.

    Another method that I've seen work, keeping in mind that this was a simple single table report,...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Executing a query on remote server

    That would be because it's using Nolock as an alias to the table on the remote server.

    So you would be able to have your query look like ,

    select Nolock.*...

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL 2005 DTS giving Junk characters in DB2

    Another thing to check is if SQL is sending unicode data that is not being interpreted properly in DB2.

    If you're seeing a square box as every second character, then this...

    --------------------
    Colt 45 - the original point and click interface

  • RE: URGENT: Stored procedure throws Windows error 203

    Whatever process is trying to save the Excel file is not able to read a necessary environment variable. Maybe the environment variable is setup on a per-user basis and not system...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Troubleshooting blocking

    Setup the sp_blocker_pss80 procedure as described in the KB article,

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;271509

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Security Issue - Viewing sql 2000 backups in Word

    The ability to view text data in a database backup is nothing new. SQL 2005 now incorporates data encryption that can secure the data. For SQL 2000, most of the...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Output result to file for each cursor row

    You could sort of hack that together by doing a union query with the first part holding the column names.

    select 1 as Seq, 'yourColumn_1' as yourColumn_1

    union

    select 2 as Seq,...

    --------------------
    Colt 45 - the original point and click interface

  • RE: RS errors and reports "Operation cancelled by user"

    Ok, how about processing the data and storing the results in a table that the report uses?

    I've done this with a couple of reports where data had to come from 4-5...

    --------------------
    Colt 45 - the original point and click interface

  • RE: RS errors and reports "Operation cancelled by user"

    I didn't know there was a Reporting Services 2003  In Reporting Services 2000, I think the config and Site Settings are pretty much the...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Output result to file for each cursor row

    The BCP won't know what the @company variable is. You'll need to build the sql statement prior to giving it to BCP.

    eg: set @sql = 'SELECT * FROM CUSTOMERS WHERE...

    --------------------
    Colt 45 - the original point and click interface

  • RE: silly error

    Not too sure what you're trying to achieve. Are you wanting to store the query text in a field, or the results from that query?

    You can use the replace function...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Output result to file for each cursor row

    Yes, either bcp, or osql using the -o option, will output your data to a file. BCP is definitely the more configurable of the two.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Can anyone think of a good reason for NOT having a PK?

    Not sure if it fits with your scenario, but what about if that table only ever had one row of data

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: RS errors and reports "Operation cancelled by user"

    Firstly, I'd be asking what person in their right mind would have a report that takes 45 mins to run. That would indicate that there is probably too much going...

    --------------------
    Colt 45 - the original point and click interface

Viewing 15 posts - 316 through 330 (of 2,487 total)