Forum Replies Created

Viewing 15 posts - 2,176 through 2,190 (of 7,164 total)

  • RE: Batch script

    Ed Wagner (1/31/2013)


    I really like batch files and I've used them for quite a few years. They can accomplish a lot and are quite a useful tool to have...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Batch script

    Forget Windows Batch, PowerShell was built for tasks like this.

    Here is a one line command that does what you need. Add as many paths as you want and change the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Distinct for One Column only

    That looks like MySQL code. This is a website dedicated to Microsoft SQL Server. You may find more assistance on StackOverflow or the Oracle product website.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQL Server 2008 Enterprise SP upgrade

    Agreed Best Practice is to try and keep everyone away from the instance during an upgrade but I think 'script upgrade mode' protects the instance now. All concerns surrounding taking...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to consume WCF service in SSIS with SQL Server 2005 SP2

    How about a Web Service Task?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding comma separator to INT datatype

    Bill Talada (1/31/2013)


    If I purchase an application, I can use it any way I want to. I used to be an academic purist back when I first started in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: storing sql script in database table column ?

    I am still not seeing a need to use xp_cmdshell or sqlcmd.

    The stored procedure can execute the code dynamically using EXEC().

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Max size in DataType Properties - Advanced Editor

    Not sure if XML Source has some limits, but you could try setting the output column to DT_NTEXT.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: What Gives Better Performance?

    "Forwarding pointers" only if we're talking about a heaps, else a page split. Neither is good though. If you have a column that will initially be empty, even something wider...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Assign the variable based on the input

    yuvipoy (1/29/2013)


    hi,

    I am having a requirement like this

    say if two table name is the input

    i will take 2 tables and need to create a view

    there may be common...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Avoid getting messages while executing Stored Procedure

    SELECT 1 AS a INTO #tmp;

    GO

    DROP TABLE tempdb..#tmp;

    SELECT 1 AS a INTO #tmp

    GO

    DROP TABLE tempdb.dbo.#tmp

    SELECT 1 AS a INTO #tmp

    GO

    SELECT * FROM tempdb..#tmp

    -- look in messages tab

    Modify your code so...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: I need to read the xml which is passed as an variable in stored procedure ?how to achieve that ?

    maida_rh (1/30/2013)


    I will try your code and did this,which resolve my problem and SP is working fine :

    ALTER PROCEDURE [dbo].[USP_Insert_UserSurveyUsingXML]

    -- Add the parameters for the stored procedure here

    --@XmlHandle int,

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: backup logins

    Admingod (1/30/2013)


    I got below error message when I run backup logins using schedule job….When I run manually from the Job, instead of schedule it runs successfully.

    error: "Cannot get the data...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Identify DML changes between two databases?

    Easwaran-336667 (1/31/2013)


    Please note that I've downloaded the Red Gate's data compare tool which shows the difference but did not provide the script to sync it.

    redgate SQL Data Compare will most...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQL Login error from client computer

    I have not found telnet to be all that reliable since some firewalls will block it. PortQry is what I use for things like this. It will allow you to...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 2,176 through 2,190 (of 7,164 total)