Forum Replies Created

Viewing 15 posts - 706 through 720 (of 7,164 total)

  • RE: How to copy SQL data rows from hosting server to a local server

    Some questions about your requirements...

    - Are you needing to completely replace the local sales data (i.e. delete all local rows then populate all rows from hosted database) or do historical...

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

  • RE: Convert/Insert all files in a directory

    Here is a PowerShell example:

    #env settings

    $srv = "orlando-surface\sql2012"

    $db = "tempdb"

    $dir = "C:\@\"

    #########################################################################

    #nothing below here changes

    #build connection string

    $connStr = "Server=$srv;Database=$db;Trusted_Connection=True;"

    #connect to the database

    $conn = New-Object System.Data.SqlClient.SqlConnection($connStr)

    $conn.Open()

    #get list of files from directory

    foreach($file...

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

  • RE: Using powershell in tsql scripts

    kevaburg (3/16/2015)


    Grant Fritchey (3/16/2015)


    I'd probably reverse build on this. If you need to manipulate files and do t-sql, I'd write it in PowerShell and call the T-SQL from there rather...

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

  • RE: Map SQL server Spid to PID in Task Manager

    bobjbain 6094 (3/16/2015)


    Sorry to come to this thread late but it might help someone else in the future.

    You can tie a spid back to a host process and host name...

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

  • RE: set variable from openquery

    Kelvin Lush (3/19/2015)


    Does anyone have any idea how to do this when the remote query contains an unknown (i.e. a variable) for the "to_date" instead of "07/11/2011" (which I presume...

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

  • RE: Grant permission to access only 2 tables in a database

    Sangeeth878787 (3/17/2015)


    Hi Orlando,

    If I need to give access more than 300 users only on two views, these views going to be used in SSRS and Tabular Model. So I need...

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

  • RE: Byte Me: Waifs And Strays

    Exploring the orphanage:

    Loginless In Seattle[/url]

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

  • RE: Using the Script Task in SSIS to Process Data Files When They Arrive

    Rich Parsons (2/18/2015)


    Thanks for the great article. I'm using SQL Server 2012 and all work well, until I add a Send Mail task at the end. The object...

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

  • RE: Orphan users fpr all user databases

    About a year after this thread I wrote an article on the topic. It targeted 2005 and 2008 but the technique works on 2012 as well. If you read the...

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

  • RE: High volumn query notifications

    I know this is a very old thread but I am being confronted with a similar proposal, albeit nowhere near the volumes initially, where QNs and Service Broker would be...

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

  • RE: manage database versions

    Check out the SQL Server Database Project offered within SQL Server Data Tools. The Database Project supports managing the properties of a database (e.g. things like the recovery mode and...

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

  • RE: Acessing Unix files directly through SSIS

    Check out the Windows 1252 map, number 253.

    http://en.m.wikipedia.org/wiki/Windows-1252

    If you can represent a character with a single byte (253<255, max number storable in a byte) then you do not need Unicode...

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

  • RE: Acessing Unix files directly through SSIS

    Just for the record, CHAR(253) is not Unicode.

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

  • RE: Acessing Unix files directly through SSIS

    mitesh.temre (12/17/2014)


    lvbntapasvi (9/6/2014)


    Hello All,

    I am new to SSIS, and have started using it from the past 3 weeks. I have a task where in I am supposed to access the...

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

  • RE: Is there a fix for the "Remove Agent History" bug?

    That should do it. I roll a job to all my instances that does just that, as a matter of standard operating procedure. Sometimes I will need to add steps...

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

Viewing 15 posts - 706 through 720 (of 7,164 total)