Forum Replies Created

Viewing 15 posts - 10,981 through 10,995 (of 15,376 total)

  • RE: Generate a checkletter (code)

    Not really sure what your question is but you can read about substring here. http://msdn.microsoft.com/en-us/library/ms187748.aspx

    What are the business rules for this? This looks pretty strange.

  • RE: SQL Procedure Performance in different networks

    rahul_yerramareddy (8/20/2012)


    Hi,

    In my project there are two servers local and central. My central server is in Network1 and local server are in any network(like Network1,Network2 etc). I wrote a procedure...

  • RE: Calling a Procedure from a Trigger

    KEVHOUSTON740 (8/20/2012)


    Yes, just as you wrote it.

    <HappyDANCE>

    Dance_Jig()

    </HappyDANCE>

    LOL 😀 Glad that worked for you.

  • RE: Calling a Procedure from a Trigger

    KEVHOUSTON740 (8/20/2012)


    Sorry if I confused you. The looping was working as it was entering in the passed values from the trigger, but not entering the child data into the...

  • RE: Calling a Procedure from a Trigger

    KEVHOUSTON740 (8/20/2012)


    The data does exist. I am looping through the data because there may be 1 or 20 child data sets, per parent, and i need to have the...

  • RE: Calling a Procedure from a Trigger

    This seems to be the same thing as your loop.

    ALTER PROCEDURE [dbo].[uspNHistory]

    -- Add the parameters for the stored procedure here

    @NH_ID INT

    ,@N_ID INT

    AS

    DECLARE @CNID INT

    ,@CID INT

    ,@CA NVARCHAR(50)

    BEGIN

    -- SET NOCOUNT ON added...

  • RE: Calling a Procedure from a Trigger

    KEVHOUSTON740 (8/20/2012)


    I have 3 tables (1 parent and a child table) that are updated using one form. The child table is a "many to one" relationship with the parent....

  • RE: unbalanced [] in sqlserver identifier

    Sean Lange (8/20/2012)


    ben cohen (8/20/2012)


    Is this a SQL Server 2008 bug? It parses fine. Note that the [] are unbalanced.

    CREATE TABLE [dbo].[abc](

    [a] [int] NULL,

    [transaction[0]].status] [nchar](10) NULL

    )

    What do you mean they...

  • RE: unbalanced [] in sqlserver identifier

    ben cohen (8/20/2012)


    Is this a SQL Server 2008 bug? It parses fine. Note that the [] are unbalanced.

    CREATE TABLE [dbo].[abc](

    [a] [int] NULL,

    [transaction[0]].status] [nchar](10) NULL

    )

    What do you mean they are unbalanced?...

  • RE: varbinary(max)

    Rainmaker097 (8/20/2012)


    Output to file or text doesn't work. But I will dig some more. Thanks a lot for explaining this to me. Much appreciated.

    What do you mean it doesn't work?...

  • RE: varbinary(max)

    SQLKnowItAll (8/20/2012)


    Rainmaker097 (8/20/2012)


    I see what you mean thanks. These are config info for several applications and you are right, they don't have to displayed.

    But is there any way I can...

  • RE: varbinary(max)

    Rainmaker097 (8/20/2012)


    Hi,

    if it is only going to display 8000 chars, what is the point of using a column that can have more than 8000 chars?

    Am I "select"ing it wrong?

    RM

    The data...

  • RE: Create Trigger within StoredProc

    Luis Cazares (8/17/2012)


    No one said they were working on a production database.

    I believe that most problems like this should be solved with other administration options and not triggers. I wouldn't...

  • RE: Create Trigger within StoredProc

    Luis Cazares (8/17/2012)


    Sean Lange (8/17/2012)


    Why do you have users that are not competent with sql that have SSMS installed on their desktops? If they can't be trusted with SSMS get...

  • RE: Create Trigger within StoredProc

    DBA_SQL (8/17/2012)


    Well I have a Scenario: We have users who requires db_datareader and db_datawriter permissions to run there front end applications. We are using windows authentication as access permissions....

Viewing 15 posts - 10,981 through 10,995 (of 15,376 total)