Forum Replies Created

Viewing 15 posts - 406 through 420 (of 4,820 total)

  • RE: XML path and XML format

    bma234 - Wednesday, October 31, 2018 8:45 AM

    USE tempdb
    CREATE TABLE dbo.Agent(AgentID varchar(5),code varchar(20),date varchar(20),reason varchar(10))
    insert into dbo.Agent
    select '001','Not Ready','1/1/2018 9:00 am', 'break'...

  • RE: Computed Column Specification formula

    w.bartelink - Wednesday, October 31, 2018 8:42 AM

    Hi,
    hopefully I'm @ the right place to ask; how and can I use the Computed...

  • RE: T SQL Question sd.name ?

    Lynn Pettis - Wednesday, October 31, 2018 8:36 AM

    sgmunson - Wednesday, October 31, 2018 8:12 AM

    October 31, 2018 at 8:48 am

    #2011866

  • RE: Executing a query with highest possible priority

    Yeah, if you were Microsoft, would you want to hand someone that kind of authority over a SQL Server?   Think about how easy it would then be to take over...

  • RE: Create a scalar function (or not)

    In this case, it appears that your expression already includes a function in it:  TimeLineMatch.   Not sure how that affects things or what kind of function it is.   I personally...

  • RE: T SQL Question sd.name ?

    Phil Parkin - Wednesday, October 31, 2018 7:49 AM

    The aliases are in scope only for the current statement batch – not...

  • RE: Update and Calculate FIFO

    Hamid-Sadeghian - Wednesday, October 31, 2018 12:08 AM

    Thank you for reply
    please see the excel file that was attached.
     in this excel file...

  • RE: T SQL Question sd.name ?

    andycadley - Tuesday, October 30, 2018 4:58 PM

    drew.allen - Tuesday, October 30, 2018 3:11 PM

  • RE: File Encoding Conversion

    EMtwo - Tuesday, October 30, 2018 1:50 PM

    Does anyone have a script to convert a file with UTF-8 encoding to UNICODE? Any...

  • RE: Convert Word files (DOCX)

    adonetok - Thursday, October 25, 2018 10:11 AM

    I need to create a project to convert some Word files from file server into...

  • RE: Stored Procedure - Issue

    Lynn's code, formatted for readability and avoids the significant repetition:
    USE msdb
    GO

    CREATE PROCEDURE dbo.sp_getbackuphistory
        @DATABASE varchar(50),
        @TimeDiff int OUTPUT,
        @LatestBackupFinishDate datetime OUTPUT
    AS
    BEGIN
        SELECT
            @LatestBackupFinishDate...

  • RE: Replication and insert triggers

    solus - Monday, October 29, 2018 9:25 AM

    I have  replication setup to replicate several tables between database a & database b.  When...

  • RE: SP with dynamic sql parameters

    I get the feeling that the problem is not enough NULL handling.   Try the following:
    CREATE PROCEDURE [dbo].[usp_test]
    @year char(4),
    @criteria varchar(50) = NULL,
    ...

  • RE: SP with dynamic sql parameters

    dallas13 - Monday, October 29, 2018 3:13 PM

    Hello, I have one SP
    CREATE PROCEDURE [dbo].[usp_test]
    @year char(4),
    @criteria...

  • RE: TRANSACTION effects and considerations

    GilaMonster - Friday, October 26, 2018 12:10 PM

    sgmunson - Friday, October 26, 2018 11:53 AM

Viewing 15 posts - 406 through 420 (of 4,820 total)