Forum Replies Created

Viewing 15 posts - 9,556 through 9,570 (of 9,641 total)

  • RE: Dropping temp tables (when they dont want to drop themselves)

    My first question would be why the temp tables are not being dropped when the connection is closed?  The statement you list will work with the following changes:

    if exists (select...

  • RE: AS400 linked server via Client Access ODBC

    Could you post your select statement?  I use linked servers using ODBC to an AS400 and have not seen this particular issue.

  • RE: Multiple datasets

    Does the first dataset create a table in SQL or a table in the report?  If it creates a table in the report I don't think there is a way...

  • RE: SQL RS Report Runtime Permission Problem

    We had this problem just logging into one of SQL Servers using NT Authentication.  I believe we had to reboot the SQL Server in order to use NT Authentication.  It was...

  • RE: Writing only the changes on an update using a trigger

    I probably should have included the if exists in my sample.  I would replace the COunt(*) code and the if @type = 'Update' to this:

    If Exists(Select * from deleted) --updated...

  • RE: slow running query

    Using Distinc and then doing concatenation is definitely going to slow down the query.  Distinct can cause a table scan.  You would be better off to use a group by...

  • RE: Stored procedures are BAD...a philosophical question

    I always favor stored procedures for data access.  Even if I were using views I would not write select statements in the front end against the view, I would write...

  • RE: Writing only the changes on an update using a trigger

    First off, looking at your code, you have an insert update trigger so if it fires there will ALWAYS be data in the inserted table, so getting a row count...

  • RE: PDF Caching Problems

    This is in addition to my last post.  I participated in a Web seminar on RS by SQL Server Magazine last week and they demonstarted creating a standard report template...

  • RE: PDF Caching Problems

    Rayven,  are you going through any kind of Proxy server that may be caching the PDF?

    I had the other problem with blank pages sort of.  I had 3 subreports on a report, ...

  • RE: T-SQL Experts - Can this SP be recoded to work as a UDF

    Try this, it's not all that much differnet from what you already have:

    Create FUNCTION

    dbo.udf_GetEMpsBYManager

    (

    @empid

    char(6)

    )

    RETURNS

    @table_variable TABLE

  • RE: SQl NOLOCK usage

    Much simpler to begin your sp with Set Transaction Isolation Level Read Uncommitted.  This means that any selects in the batch/sp will allow dirty reads, but will not hold locks,...

  • RE: Which recycled server would you use? (Comparison)

    I'd go with A as well.  I'm guessing you could very cheaply add Hard disk space to A if you find the need.  You also want the development server ot...

  • RE: Citrix and SQL

    I don't think Citrix will grab 100mb per connection, of course this will vary based on your app requirements.  I would say that you need to make it clear that...

  • RE: Matrix how to question

    Never Tried it, but I would guess that you could use expressions to do your calculations.  An expression Like:

    matrix1!txtSales.Value - matrix2!txtReturns.Value

    I would ptobably do what Kathi suggested but I'd...

Viewing 15 posts - 9,556 through 9,570 (of 9,641 total)