Forum Replies Created

Viewing 15 posts - 46 through 60 (of 70 total)

  • RE: Dynamic SQl

    If you need to return a value from dynamic sql, you should use

    the sp_executeSQL system stored proc.  You can look it up in BOL, but here's a sample script:

    DECLARE...

  • RE: Any Help Appreciated with Processor Usage 100% SQL

    Straight from MS's site:

    Distributed File System (DFS) is a strategic storage management solution in Windows Server 2003 that enables you to group shared folders located on different servers logically...

  • RE: SQLServer 2000 and MSAccess 2000.

    This is very simple, but it's worked like a charm for the last couple of years.  If anyone has a better alternative, I'm all eyes (since I can't hear what...

  • RE: Any Help Appreciated with Processor Usage 100% SQL

    If you're using the MSDE, you're probably running up against the "governor" that "dissuades" more than 5 users from using it, although you can theoretically go higher, it just gets...

  • RE: How can I assign Serial Numbers in multiple ranges

    Just an FYI, you might have already considered this, but make sure to code your trigger for multiple inserts.  I've been burnt by the reality of insert statements that fire...

  • RE: SQLServer 2000 and MSAccess 2000.

    I have been using an Access2k front end to SQL 2k for about 2 years with 6 users. I've never had the locking problem and all 6 are in it...

  • RE: HOw to pass a table as input parameter to a user defined function

    You might want to look into User-Defined Functions That Return a table Data Type.

    They might give you the functionality you're looking for.

     

     

  • RE: AND & OR precedance.

    From BOL searching on AND:

     

    Hope is helps.

     

    Precedence of AND and OR

    When a query is executed, it evaluates first the clauses linked with AND, and then those linked with OR.

    Note...

  • RE: Date Trigger

    I don't know if it's just pseudo code, but you should be using inserted as your table name.  It's the actual table data that's being inserted, even during the update. ...

  • RE: linked server set up

    Have you tried accessing the data in the linked server using a view and then trying to access the view from the remote servers?

  • RE: query from a server a DB a1 to a serverB db b2

    Whenever I use linked servers, I use a view to hide the extra complexity and confusion.   It also saves typing the extra dots

  • RE: Rebuilding a databases data

    I think the easiest way to rebuild the data would be to delete and add a clustered index.  The final result would be data ordered by the clustered index.

  • RE: Missing Data importing from Excel

    Whenever I import data from Excel, especially using DTS, I open the doc and import it using COM. The "feature" you're dealing with is MS's way of optimizing ODBC...

  • RE: Search in DTS packages

    You could save all of the packages to a structured file (text) and then search those files. Kind of a pain, I know.

  • RE: return a subset from a query

    I've always used the > clause and a unique index to page through my data. You store the ID on the page and pass that ID to a stored...

Viewing 15 posts - 46 through 60 (of 70 total)