Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 8,755 total)

  • RE: Parse SQL String

    Since we are on the 2012 forum, here is a LEAD version
    😎
    USE TEEST;
    GO
    SET NOCOUNT ON;

    DECLARE @ProductCode VARCHAR(256) = 'Organitation/My Companies/company...

  • RE: Parse SQL String

    ejbatu1 - Friday, June 16, 2017 6:34 AM

    The reason is that, I would also like to use this script in SQL Server...

  • RE: Parse SQL String

    ejbatu1 - Friday, June 16, 2017 4:34 AM

    HI

    Thanks for the reply.  Is it possible to do this without creating a function?

    Thanks,

    Here is...

  • RE: date format needed: 06/15/2017 12:00:00 AM

    Piling on
    😎

    This returns a DATETIME with time set at midnight:
    SELECT CONVERT(DATETIME,CONVERT(DATE,GETDATE()),0)

  • RE: xml

    This should get you passed this hurdle
    😎

    IF OBJECT_ID('tempdb..#urlset') IS NOT NULL
    drop table #urlset
    CREATE TABLE #UrlSet(
    [Tip] [smallint] NOT NULL,
    [xml] NULL

  • RE: Parse SQL String

    You can use the DelimitedSplit8K or the DelimitedSplit8K_LEAD functions
    😎

    DECLARE @ProductCode VARCHAR(256) = 'Organitation/My Companies/company ABC/My company divisoin/my company place/department/place of work 234/678/98as/sdfd45679'

  • RE: need counts of unique patients

    Further on Luis's respond, what have you tried so far?
    😎

  • RE: sql logic issue, using OUTER APPLY, causing loss of data.

    polkadot - Thursday, June 15, 2017 8:56 AM

    Eirikur: I think OUTER APPLY is only way to do accomplish task because I need...

  • RE: How to update column type ?

    If you want to stay safe then check the the actual length of the values, here is an example
    😎
    IF OBJECT_ID(N'DBO.TXX') IS NOT NULL DROP TABLE...

  • RE: Today's Random Word!

    Ed Wagner - Thursday, June 15, 2017 7:27 AM

    Eirikur Eiriksson - Thursday, June 15, 2017 7:18 AM

  • RE: How to update column type ?

    spectra - Thursday, June 15, 2017 7:27 AM

    How to update column type  VARCHAR to NVARCHAR  ?

    I have data in VARCHAR column.
    I need...

  • RE: Error Handling Paradox

    Neil Burton - Thursday, June 15, 2017 7:17 AM

    Eirikur Eiriksson - Thursday, June 15, 2017 6:57...

  • RE: Today's Random Word!

    Ed Wagner - Thursday, June 15, 2017 7:13 AM

    Neil Burton - Thursday, June 15, 2017 5:33 AM

  • RE: Error Handling Paradox

    Does the T-SQL TRY/CATCH only suppress the errors?
    😎

  • RE: backups

    Further on the subject, if the validity of the backups isn't tested by restoring then there is a potential risk, how do you validate that the backups can actually be...

Viewing 15 posts - 2,101 through 2,115 (of 8,755 total)