Forum Replies Created

Viewing 15 posts - 12,976 through 12,990 (of 26,486 total)

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (4/11/2012)


    Wow. Did I catch that right? The OP posted in an Article discussion because we weren't answering the questions elsewhere?

    And now he is getting...

  • RE: sqlserver1

    asranantha (4/11/2012)


    everything is avilable in google.at this time why maintaing this site.if any ;body know .simply sameif u know anserr tell why give this type of discussion.if u give...

  • RE: sqlserver1

    asranantha (4/11/2012)


    if u know answers plz tell me .other wise donot reply.

    iam waiting for answrers.donot write any othere messages.if u know tell me properly other wise stop write any...

  • RE: server name after migration

    SQLKnowItAll (4/11/2012)


    opc.three (4/11/2012)


    sqlfriends (4/11/2012)


    ...I don't see change DNS name in the steps.

    You're unbelievable....

    LMAO You will have to work with your network admins on this one.

    Okay, who has the silver spoon...

  • RE: Running Sum Query

    nick.fairway (4/11/2012)


    Even more efficient for the test data supplied is this one - almost 9 times faster than the original -- look at the execution plan of the batch when...

  • RE: Date Format to String

    This is what I came up with:

    select replace(replace(replace(convert(varchar(30), getdate(), 120),'-',''),':',''),' ','')

  • RE: SQL server database locks impacts other DB on the same server

    You need to investigate the queries being run in the other database. If they are blocking queries in the database being accessed by the web app, it sounds like...

  • RE: Running Sum Query

    nick.fairway (4/11/2012)


    A much more efficient version of this takes about 1/6 of the processing:

    SELECT G.OrderDate, G.ProductKey, QtyOrdered = SUM(F.QtyOrdered), G.MTD

    FROM

    (

    SELECT

    ...

  • RE: hyperlink in select statement

    yes, it is possible to generate a string that when displayed is a hyperlink.

  • RE: Wasting Time

    jfogel-1131029 (4/11/2012)


    I typically take 3-4 minutes to have a cig. I'm also here after hours, weekends and doing whatever it takes to get it done. For that alone I couldn't...

  • RE: Add user with Admin Access

    Hope this helps:

    CREATE LOGIN [domainname\username] FROM WINDOWS; -- Replace domainname\username with the windows login you created

    GO

    USE [first_database_name]

    GO

    CREATE USER username FOR [domainname\username];

    GO

    EXEC sp_addrolemember N'db_owner', N'username'

    GO

    USE [second_database_name]

    GO

    CREATE USER username FOR [domainname\username];

    GO

    EXEC sp_addrolemember...

  • RE: Trying to dynamically update operators

    You have a GO (batch terminator in SSMS) in the middle of the IF ELSE.

    IF EXISTS(SELECT name FROM msdb.dbo.sysoperators where name = @onCall)

    EXEC msdb.dbo.sp_update_operator @name=@onCall,

    @enabled=1,

    @weekday_pager_start_time=0,

    @weekday_pager_end_time=235959,

    @saturday_pager_start_time=0,

    @saturday_pager_end_time=235959,...

  • RE: Add user with Admin Access

    djustice 20821 (4/11/2012)


    They need access to 2 databases, 'Test' and 'Production', but they need full access to both. By full access I mean they need to be able to...

  • RE: it work after one loop not working on next cndition

    Actually, I would be amazed if the coded posted actually did anything.

  • RE: Replication Issue while setting up subscriber

    Duplicate post. Please post any answers here.

Viewing 15 posts - 12,976 through 12,990 (of 26,486 total)