Forum Replies Created

Viewing 15 posts - 31 through 45 (of 185 total)

  • RE: For Multiple DB

    DECLARE 
    @note VARCHAR(2000)
    ,@id INT 
    ,@command varchar (2000)

    DECLARE C_sql CURSOR FOR

    SELECT '' AS [-- Notes --],
    2 AS [-- print output --]

    UNION
    SELECT '--...

  • RE: For Multiple DB

    Its only giving result for one database and not other
    DECLARE 
    @note VARCHAR(2000)
    ,@id INT 
    ,@command varchar (2000)

    DECLARE C_sql CURSOR FOR

    SELECT '' AS [-- Notes --],

  • RE: For Multiple DB

    No it don't work

  • RE: Client Upgrde

    NorthernSoul - Thursday, May 4, 2017 6:20 AM

    Are you running it as an administrator?

    Thanks

    Yes I am admin on the server

  • RE: Client Upgrde

    I downloaded SSMS 2016 from Microsoft website. I executed SSMS 2016 exe file but it does not install neither it gives any messages or generates any error.

  • RE: Client Upgrde

    Phil Parkin - Wednesday, May 3, 2017 2:27 PM

    Nita Reddy - Wednesday, May 3, 2017 2:16 PM

    May 3, 2017 at 2:39 pm

    #1941001

  • RE: Client Upgrde

    Phil Parkin - Wednesday, May 3, 2017 1:43 PM

    Nita Reddy - Wednesday, May 3, 2017 1:05 PM

    May 3, 2017 at 2:16 pm

    #1940999

  • RE: Store Procedure

    ZZartin - Thursday, February 16, 2017 9:04 AM

    What do you plan to do with this random number?

    my store procedure ( exec SP_DEV_generateanynumber)

    When...

  • RE: SQL Query

    Let me give with Example:

    I have table called Tracking_changes which contain 4 columns a

    I want to get the output ONLY with differences in other column 2 and 3 and System...

  • RE: SQL Query

    This is the Data I have in my table

    NameIDGradesecSystem Date

    sac11A1/5/2012

    paul21A1/5/2012

    Simon32B1/5/2012

    Kelly42B1/5/2012

    Nimo52B1/5/2012

    sac11A1/4/2013

    paul22A1/4/2013

    Simon32B1/4/2013

    Kelly42B1/4/2013

    Nimo53C1/4/2013

    OUTPUT I am expecting below (since only Grade and Sec I am concern about from System Date change)

    NameIDGradesecSystem Date

    sac11A1/4/2013

    Nimo53C1/4/2013

  • RE: Fragmentation

    Thanks that's solved my problem using EXEC sp_MSforeachdb @command

  • RE: export table

    I have text which is causing me issue

    Text having data with value '369 Pacific ave, NC. (07818)'

  • RE: help on datediff

    I tried using cast I am still getting same error

  • RE: help on datediff

    how do I pass day 16 in the code

  • RE: Schema

    Thanks everyone it was a great help

Viewing 15 posts - 31 through 45 (of 185 total)