Forum Replies Created

Viewing 15 posts - 1,681 through 1,695 (of 15,381 total)

  • RE: How can I check if username exists multiple times?

    rjjh78 (3/14/2016)


    Hello,

    I have created the cursor below. The intent of my project is to automate the creation of user accounts.

    What I am doing is creating the username,...

  • RE: Tally OH! An Improved SQL 8K “CSV Splitter” Function

    Jeff Moden (3/11/2016)


    TheSQLGuru (3/11/2016)


    Someone needs to benchmark the STRING_SPLIT() function coming out in SQL Server 2016 and update the main article!

    https://msdn.microsoft.com/en-us/library/mt684588.aspx

    Ed Wagner (3/11/2016)


    TheSQLGuru (3/11/2016)


    Someone needs to benchmark the...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/10/2016)


    Sean,

    If you don't mind, can you elaborate more on these steps.

    Is the requirement that the email be sent real time?

    Ans: No, I do not need it real time.

    If not,...

  • RE: Help creating a SP

    You need to read up a lot about how triggers work. If you add a delay it is only going to delay the processing. That means your application will just...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/10/2016)


    Sean Lange (3/10/2016)


    SQLisAwE5OmE (3/10/2016)


    I am not trying to ignore you guys in terms fixing the code for multiple row inserts.....

    But my trigger is not working as per my requirements,...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/10/2016)


    I am not trying to ignore you guys in terms fixing the code for multiple row inserts.....

    But my trigger is not working as per my requirements, I am trying...

  • RE: Changing code within a Select statement

    SW_Lindsay (3/10/2016)


    I have a huge select statement that has to be repeated because the Group By changes at the four different levels. Is there a way to leave the...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/9/2016)


    I have modified my trigger to do a join with another table to get the Meeting(Class) code since it doesn't appear on dbo.order table, the meeting code is inserted...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/9/2016)


    Sean Lange (3/9/2016)


    SQLisAwE5OmE (3/9/2016)


    Sean Lange (3/9/2016)


    SQLisAwE5OmE (3/9/2016)


    When I purchased 2 programs(classes) in the same order, I got 2 separate emails. So, is that mean it's working?

    No. That means that...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/9/2016)


    Sean Lange (3/9/2016)


    SQLisAwE5OmE (3/9/2016)


    When I purchased 2 programs(classes) in the same order, I got 2 separate emails. So, is that mean it's working?

    No. That means that your program inserts...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/9/2016)


    When I purchased 2 programs(classes) in the same order, I got 2 separate emails. So, is that mean it's working?

    No. That means that your program inserts the rows one...

  • RE: Help creating a SP

    SQLisAwE5OmE (3/9/2016)


    Hi Sean\Martin,

    Here is my revised code

    USE [IMIS_TEST]

    GO

    /****** Object: Trigger [dbo].[Orders_Online_Reg] Script Date: 03/09/2016 09:29:20 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    ALTER TRIGGER [dbo].[Orders_Online_Reg]

    ON [dbo].[Orders]

    AFTER insert

    AS

    DECLARE @ORDER_NUMBER varchar(100)

    DECLARE...

  • RE: Help creating a SP

    MMartin1 (3/8/2016)


    SELECT @ORDER_NUMBER = i.ORDER_NUMBER, @ID = i.ST_ID, @Name = i.FULL_NAME, @Timestamp = i.ORDER_DATE

    from inserted i

    This above will fail whenever the application inserted more than one row as part...

  • RE: Generate 30 days columns of the month

    Here is one such possibility. This will generate any number of empty columns with the name of the date using 2 date variables as the start and end values. This...

  • RE: Generate 30 days columns of the month

    JoseACJr (3/5/2016)


    Hello!

    A simple question!

    How can I generate 30 columns that are days of the month, between two dates ?

    Thank you!

    Give us something here. You just want 30 empty columns? Do...

Viewing 15 posts - 1,681 through 1,695 (of 15,381 total)