Forum Replies Created

Viewing 15 posts - 91 through 105 (of 3,544 total)

  • Reply To: How to remove quote marks using SSIS and a little C#

    Jeff Moden wrote:

    Yes, you still need to deliberately get rid of  the first character in the first column and the last character in the last column (because they're quotes) but that's...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Are the posted questions getting worse?

    Sergiy wrote:

    Robert Sterbal wrote:

    In nearly 30 years of using excel there are very few situations that don't have a straight forward work around.

    built a report from an SQL database for a...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: The Computing Revolution

    Jeff Moden wrote:

    The really cool part is that it's been beneficial to us old farts in many ways.  I was the big kid on the block way back when I bought...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Insert all columns except for Identity ID

    I'd also ask what is the purpose for copying the same data to another table but with a new ID?

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Nearest Proximity For every record

    Jeff Moden wrote:

    Phil Parkin wrote:

    marty.seed wrote:

    How does that help?

    Because it gives you the distance from every building to every other building.

    And, if you use the right measurements, it gives you the actual...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Help with SQL Select with ^^^^

    Jeff Moden wrote:

    David Burrows wrote:

    WHERE SUBSTRING([column],CHARINDEX('^',[column],PATINDEX('%PQ5|1|[0-9]%',[column])),4) = '^^^^'

    If you look at the following post where the OP finally posted some semblance of the data he's actually trying to filter,...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Help with SQL Select with ^^^^

    WHERE SUBSTRING([column],CHARINDEX('^',[column],PATINDEX('%PQ5|1|[0-9]%',[column])),4) = '^^^^'

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Are the posted questions getting worse?

    jasona.work wrote:

    And now, how to put the brakes on a migration project...

    Break your wrist on a bicycle ride so you only have one hand to type with and no immediate...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Need help with a BCP statement

    What was output in the results tab?

    What does Select * from [dbo].[TestView] return?

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Need help with a BCP statement

    You have an extra double quote, try this

    DECLARE @RecallDateTime as datetime
    SET @RecallDateTime = GetDate()
    DECLARE @FileExtension varchar(4) = 'ckr'
    DECLARE @FileDateTimeStamp varchar(14) = REPLACE(REPLACE(REPLACE(CONVERT(VARCHAR(23), @RecallDateTime, 120),'-',''),' ',''),':','')

    -- working...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Need help with a BCP statement

    queryout  is for queries (sql statements)

    out is for tables/views

    what was output in the results tab?

    fyi

    xp_cmdshell returns an errorcode as an integer if you want check if it worked or not

     

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Need help with a BCP statement

    I can't see how it can run at all, what is the purpose of @FileExtension in the first line, if it is to extend the name of the view then...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Return code with stored procedure

    jonathan.crawford wrote:

    I have never understood the utility of returning the bit value from a stored procedure execution. It's too abstract of a concept to say "it worked" or "it didn't...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Collections: Computed gaps for continuous numbers

    Never used geometry by I suppose some this like this

    SELECT N, 
    GEOMETRY::STGeomFromText('POLYGON(('+CAST(N as varchar(10))+' 0, 1 1, 0 1, 0 0, 1 0))', 0)
    FROM (VALUES(1)) x...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Reply To: Are the posted questions getting worse?

    Sent home from work yesterday AM and now working from home.

    Now in isolation with Wife and family, what a bummer.

    🙁

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 91 through 105 (of 3,544 total)