Forum Replies Created

Viewing 15 posts - 1,771 through 1,785 (of 15,381 total)

  • RE: table design

    hlsc1983 (2/23/2016)


    k here is my SUBJETCS table so far.

    subject_id(pk) int ,

    subject_name varchar(),

    subjectTHET bit,

    subjectTHPA bit,

    subjectPRET bit,

    subjectPRPA bit,

    Each subject may have four types of grades associated with it.(subjectTHET, subjectTHPA, practicalET, practicalPA)

    the four...

  • RE: CHECKING specific values

    Ed Wagner (2/23/2016)


    Sean Lange (2/23/2016)


    I am shocked at how many people (9% at time of this post) said there would be 4 rows. :w00t:

    Excellent question Steve.

    That is interesting, isn't it?...

  • RE: CHECKING specific values

    I am shocked at how many people (9% at time of this post) said there would be 4 rows. :w00t:

    Excellent question Steve.

  • RE: Stored procedure running much longer than its statements

    Is this procedure using transactions? They can seriously bloat your logs if they are large. Kind of grasping for straws here. Are you able to get an actual execution plan...

  • RE: Why is it that NULL value will be automatically embedded in square brackets in insertion script?

    marin-231997 (2/22/2016)


    Hello Sean,

    many thanks for the quick reply.

    It is a 3rd party software (interface engine) that processes the CSV file and sets the value in the placeholders before running...

  • RE: Update with two date columns, need converting

    giszzmo (2/22/2016)


    This doesn't work. I only need the year part and it's not a char.

    Can you explain "doesn't work"? What doesn't work? The code posted by LinksUp looks like...

  • RE: Why is it that NULL value will be automatically embedded in square brackets in insertion script?

    marin-231997 (2/22/2016)


    Hello all,

    I have encountered following problem lately:

    when an insertion script is done via

    INSERT INTO myTable (col1,col2,col3) VALUES ('TEST1','TEST2',NULL)

    the value NULL will be somehow automatically embedded in square...

  • RE: Help executing a Stored Procedure

    Luis Cazares (2/22/2016)


    Sean Lange (2/22/2016)


    TSQL Tryer (2/22/2016)


    ALTER PROCEDURE [dbo].[usp_test_Arrears_BrokenArrangement]

    @PolicyId INT, @AccountId INT, @PolicyNodeId INT, @output BIT OUT

    AS

    BEGIN

    SET NOCOUNT ON;

    SET @AccountId = 1

    DECLARE @CurrentArrangement as bit

    DECLARE @LastSystemActionId...

  • RE: Are the posted questions getting worse?

    BL0B_EATER (2/22/2016)


    Sean Lange (2/22/2016)


    BL0B_EATER (2/22/2016)


    Anyone here have / had some experience with the Surface Pro 4? If so what are your thoughts on it?

    My wife has one as her work...

  • RE: Help executing a Stored Procedure

    I do think your logic could be greatly simplified into a single select statement instead of all these variables though. A simple case expression could make this a lot simpler.

  • RE: Help executing a Stored Procedure

    TSQL Tryer (2/22/2016)


    ALTER PROCEDURE [dbo].[usp_test_Arrears_BrokenArrangement]

    @PolicyId INT, @AccountId INT, @PolicyNodeId INT, @output BIT OUT

    AS

    BEGIN

    SET NOCOUNT ON;

    SET @AccountId = 1

    DECLARE @CurrentArrangement as bit

    DECLARE @LastSystemActionId as int

    DECLARE @ActionDate as...

  • RE: Help executing a Stored Procedure

    TSQL Tryer (2/22/2016)


    Yes I did try but kept getting errors as I'm obviously using the SET in the wrong place.

    Perhaps if you share what you tried or even the error...

  • RE: Help executing a Stored Procedure

    Of course you can. Did you try it?

  • RE: Are the posted questions getting worse?

    Ed Wagner (2/22/2016)


    Sean Lange (2/22/2016)


    BL0B_EATER (2/22/2016)


    Anyone here have / had some experience with the Surface Pro 4? If so what are your thoughts on it?

    My wife has one as her...

  • RE: Are the posted questions getting worse?

    BL0B_EATER (2/22/2016)


    Anyone here have / had some experience with the Surface Pro 4? If so what are your thoughts on it?

    My wife has one as her work laptop now. She...

Viewing 15 posts - 1,771 through 1,785 (of 15,381 total)