Forum Replies Created

Viewing 15 posts - 181 through 195 (of 196 total)

  • RE: How to accept/parse Text type in SP?

    Do you have the ability to insert the text block into a table/column?

    Books online describes how to incrementally pull a large text block into a variable for working.  Do a...

  • RE: Passing variables

    Can you post the text of the stored proc?  Or at least the signature?

  • RE: Help new to TSQL

    Let me answer the questions as presented.

    > are there any alternatives that would be worth thinking about?

    Yes, but without a more specific problem domain, theory is about all we can offer...

  • RE: Help new to TSQL

    create table TblRoutes (

     GID int IDENTITY (1, 1) NOT NULL PRIMARY KEY,

       Node1 NUMERIC           NOT NULL,

       Node2 NUMERIC               NULL)

    insert into TblRoutes (Node1, Node2) VALUES(...)

    SELECT * FROM TblRoutes WHERE Node1 =...

  • RE: Help new to TSQL

    An additional question is whether the transportation system is constrained to a hierarchical structure, a network structure, or a directed graph?  If a directed graph, does the graph cycle?  Each...

  • RE: Sending very large XML packets to server via web page

    How big is "a very large xml packet" in your world?  Is it larger than the parameter supports?  For example, are you trying to pass more than 8000 characters using...

  • RE: Deleting Grandfather, father, child records

    There are several ways to accomplish what you are trying to do.  Triggers are one option.  Another option is to set up the tables as described in BOL.  Do a...

  • RE: SELECT... WHERE COD IN (6000 itens)

    Can you procide a little more information please?  It would be helpful if you could provide the actual query, as well as sample table structures.

    Given the little information in your...

  • RE: "clever" way to remove un-used tables

    Here is a query that will return the list of tables and the Sp that reference them:

    SELECT DISTINCT TABLE_NAME

          , object_name(id)

      from syscomments,

           INFORMATION_SCHEMA.TABLES

     where text like '%' + TABLE_NAME...

  • RE: nested transaction

    Hello,

    This is where I admit to being less than perfect. 

    I routinely encounter this situation when I explicitly open transactions with a 'BEGIN TRANSACTION'...

  • RE: list parent records with children in one field ?

    Here is an alternate way to achieve the goal.  I am sure it can be reduced to a smaller chunk of code, but this will get you started.

    DECLARE @tmpTable TABLE...

  • RE: Capturing all errors in a single stored procedure

    To be honest, I'm not sure how a single stored proc could technically trap all errors, as the call to the stored proc would mask some errors.

    I generally implement a...

  • RE: How do I determine if current SP is already running?

    Peter: Your method works perfectly as long as I am logged in as SA.  When I embed the process in the actual stored proc running as a non-priveleged account I...

  • RE: How do I determine if current SP is already running?

    All excellent suggestions.  Unfortunately, they are all interactive.  The procedure is intended to function ina lights out environment.  I am seeking a solution that I can embed in the stored...

  • RE: scaling Bulk Insert to handle a 50 meg text file

    Thanks Phill,

    You have eliminated one of the variables for me. i.e. the size of the file. I'll focus my attention on the data tomorrow morning. Thanks for...

Viewing 15 posts - 181 through 195 (of 196 total)