Forum Replies Created

Viewing 15 posts - 16 through 30 (of 78 total)

  • RE: Reading a CSV

    Forward slash is easier. We can use the singlequote as well for the file path parameter

  • RE: When sp_HelpText is not so helpful!

    Carlo Romagnano - Monday, September 25, 2017 1:48 AM

    Another "bug" is when you rename a stored procedure and run sp_helptext.
    It returns the...

  • RE: T-SQL standard way to get current and previous rate situation

    d_martins - Wednesday, September 20, 2017 2:04 AM

  • RE: T-SQL standard way to get current and previous rate situation

    Try below query, i have created a temp table with some sample data. you may need to change the order by clause based on the data you want to see.

  • RE: deleting duplicate rows based on a condition

    Try this query, this should work. You can use select clause to check the data to be deleted


    DELETE FROM A
    --SELECT *
    FROM dbo.PinheadTest a

  • RE: Updating 1 record in Table A with multiple records in Table B

    Please give some test data and expected output.
    Based on current input you are trying to update parent table (Table1) with child table (Table2). Why do you want to use...

  • RE: Temporary tables SCOPE

    ChrisCarsonSQL - Thursday, September 7, 2017 4:35 PM

    I must be missing something because I tried to execute this SQL and all I...

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

    rinzana - Thursday, September 7, 2017 8:00 AM

    Thank you for you quick replies:
    I am using the Test 1 script provided 

    -- TEST 1:
    --...

  • RE: Replace the first charatcer in a String

    please give some sample data and expected result
    My understanding is you want to change first character with 27th, below script should be useful


    Declare @txt...

  • RE: Tabular Cube Partitions

    I don't think it is possible at fact table level. can you just update those 2 columns with NULL values for those old financial year, if number of records not...

  • RE: SQL Security Crossword

    kjmullen - Wednesday, September 6, 2017 7:05 AM

    Loved the last 2 of these.  Do you have this available in Word or Excel?

    Word...

  • RE: Database trigger to send email after column in table is updated.

    I would not go for trigger. There are few other option, so can have better control and guaranteed email and logging
    1. as soon as application updates the record, it...

  • RE: SQL Server in Space - HASSP

    robert.sterbal 56890 - Tuesday, September 5, 2017 9:54 AM

    Eric M Russell - Tuesday, September 5, 2017 8:57...

  • RE: Remote query gets killed after ten minutes

    Is the remote connection connecting through a link server or app server? in that case you need to check the query timeout setting in link server/ app server connection configuration.

  • RE: What is your definition of a DBA?

    In small organization of course one resource may have to do all the tasks related to SQL. But in my experience I have seen mostly expectation is installing SQL Server,...

  • Viewing 15 posts - 16 through 30 (of 78 total)