Forum Replies Created

Viewing 15 posts - 1 through 15 (of 57 total)

  • RE: Python division

    Sean Lange - Wednesday, March 14, 2018 8:55 AM

    MariusJarzebowski - Wednesday, March 14, 2018 7:23 AM

    March 14, 2018 at 8:57 am

    #1983179

  • RE: Python division

    Carlo Romagnano - Wednesday, March 14, 2018 2:21 AM

    "The // operator is an integer division operator" that's false (-20). It's a FLOOR...

  • RE: Naming the Columns

    RoNoS - Wednesday, December 6, 2017 12:39 AM

    Isn't that giving a syntax error about a missing bracket?

    Would think so too

    colnames(

  • RE: FORMATting dates

    After seeing the question in the newsletter I was expecting to see something like

    select format(@date, 'MMMM dd')

    Had  to do some digging...

  • RE: Saving For Christmas

    As I read it...

    Ceiling appropriate for the coffee card tracking

    You actually spent $6.91 but are recording it as $8.00 ($1.09 "saved" via obfuscation -- but its...

  • RE: Cycling the error log

    Jeff Moden - Sunday, April 2, 2017 8:58 PM

    I hate answers like "You must restart the SQL Server instance" (emphasis is...

  • RE: Getting Modules

    A little confused again...

    Looking at

    https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.core/get-module

    -ListAvailable

    Indicates that this cmdlet gets all installed modules. Get-Module gets modules in paths listed in the PSModulePath environment variable. Without this parameter, Get-Module gets only the...

  • RE: Managing SQL Server with PowerShell

    Interesting...

    This article https://msdn.microsoft.com/en-us/library/hh231286.aspx

    updated 8/1/16 does not indicate the deprecation and states

    Use the Import-Module cmdlet to import the sqlps module. Specify the DisableNameChecking parameter if you want to suppress...

  • RE: Find the brackets

    Jeff Moden (11/16/2016)


    IMHO, cleaner code if you take the shortcut.

    SELECT mychar FROM mydata WHERE mychar LIKE '[[]%'

    That's how I went about doing it and then had to take a closer...

  • RE: INSERTing datetimeoffsets

    As noted, both 1 & 2 appear to be invalid

    INSERT dbo.TimeZoneOffsetTest (mytime) SELECT CAST('20161015 08:15 -4:25' as DATETIMEOFFSET)

    go

    INSERT dbo.TimeZoneOffsetTest (mytime) SELECT '20161015 08:15 +2:00'

    go

    will work

  • RE: Many-to-Many Sanity Check

    We start each table at a different starting point (for us usually 1,000 apart) so then when we have only a handful of rows during DEV there is no chance...

  • RE: Many-to-Many Sanity Check

    Bill Talada (9/28/2015)


    I think it will work. Multi-column primary keys fry my brain on gnarly queries. I think that is why you did not follow names through to...

  • RE: Many-to-Many Sanity Check

    TomThomson (9/28/2015)


    Calling something by different names in different places, as you have done here, leads to crazy things like holding the same thing twice with two column names in one...

  • RE: Many-to-Many Sanity Check

    Bill Talada (9/28/2015)


    I think it will work. Multi-column primary keys fry my brain on gnarly queries. I think that is why you did not follow names through to...

  • RE: Many-to-Many Sanity Check

    Bill Talada (9/28/2015)


    I think it will work. Multi-column primary keys fry my brain on gnarly queries. I think that is why you did not follow names through to...

Viewing 15 posts - 1 through 15 (of 57 total)