Forum Replies Created

Viewing 15 posts - 61 through 75 (of 812 total)

  • Reply To: Transient Synonyms

    You also can create synonym without an existing object.

    In your example you mismatched the synonym StagingSongs with SongStaging

    CREATE SYNONYM SongStaging FOR #songs
    GO
    CREATE PROCEDURE dbo.LoadSongs
    AS
    INSERT Songs
    (
    songid,
    title,
    releasedate,
    genre
    )
    SELECT songid,
    title,
    releasedate,
    genre
    FROM dbo.StagingSongs
    WHERE...
  • Reply To: Minimalistic SELECT

    The second dot is a "virtual AS".

    Absolutely NO, but if you like to think so OK.

  • Reply To: Minimalistic SELECT

    This clearly shows that if the expression before the dot is data type numeric,

    then the expression after the dot is taken as a column name.

    The dot is part of constant...

  • Reply To: Minimalistic SELECT

    That's true! It's the decimal separator.

  • Reply To: Minimalistic SELECT

    The explanation is that constant numbers are evaluated as one token! It doesn't matter if there is not a space at the end of the constant

    These queries are equivalent:

  • This reply was modified 5 years, 3 months ago by  Carlo Romagnano.
  • Reply To: Cleaning the Data frame

    I should try, but I think that if you specify "header=true or false" the first row contains column names (true= less names than columns, false=same number for names and columns.

  • Reply To: Cleaning the Data frame

    I found this in the syntax:

    "header is set to TRUE if and only if the first row contains one fewer field than the number of columns."

    So, because of the same...

  • Reply To: Altering a Filegroup

    The correct answer is: "The command seems to pause and hang, and the add file operation will run when the backup is complete."

    From BOL: https://docs.microsoft.com/en-us/sql/t-sql/statements/backup-transact-sql?view=sql-server-2017

    Interoperability

    SQL Server uses an online...

  • Reply To: Temporary data and Differential Backup size

    Well done, "WAITFOR DELAY '00:00:05' " makes the difference.

  • Reply To: Temporary data and Differential Backup size

    My results:

    Processed 5128 pages for database 'test', file 'test' on file 1.

    100 percent processed.

    Processed 3 pages for database 'test', file 'test_log' on file 1.

    BACKUP DATABASE WITH DIFFERENTIAL successfully processed 5131...

  • Reply To: Getting the time

    Maybe R language is case sensitive? So, Sys.time() is the correct answer, but it's not in the list.

  • RE: Done testing identity 2

    Weird thing:
    DBCC CHECKIDENT('dbo.SalesOrderHeader', RESEED, 0)

    Returns this message:

    Checking identity information: current identity value 'NULL'.
    DBCC execution completed. If DBCC printed error messages, contact your...

  • RE: MOT identity

    Steve Jones - SSC Editor - Monday, February 25, 2019 9:51 PM

    Comments posted to this topic are about the item MOT...

  • RE: Types of MOT indexes

    Very good question

  • Viewing 15 posts - 61 through 75 (of 812 total)