Forum Replies Created

Viewing 15 posts - 6,496 through 6,510 (of 7,164 total)

  • RE: Creating Delimited Strings

    I finally got to a place where I felt comfortable enough to publish the project...but it's still in Beta 😀

    If you have the time and inclination to review the site...

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

  • RE: Deleting Files older than n days using SSIS

    Here is a very similar conversation happening on the topic right now:

    http://www.sqlservercentral.com/Forums/Topic1100808-149-1.aspx

    There is a code sample for a Script Task being worked through at the moment that may be a...

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

  • RE: setting config file for all packages in command

    Please don't double post.

    Direct replies here:

    http://www.sqlservercentral.com/Forums/Topic1100732-147-1.aspx

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

  • RE: Delete files that are older than 7 days

    QQ-485619 (4/29/2011)


    I have a folder in d drive called Archive (d:\archive) which stores all data load files. The name of these files various, and I need to create...

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

  • RE: dangers of copying to excel from ssms

    I think you're running into issues because of the double-quotes. If you escape those by doubling them up I think you'll have better results...like this:

    select 1,'""wet season is here','=38489'

    union all

    select...

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

  • RE: How to output query results into a text file

    BCP is a good option. Note that xp_CmdShell is disabled by default in new SQL Server installations due to it increasing the attackable surface area of an instance when enabled....

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

  • RE: problems with OPENXML - how to avoid using the xmlns

    You're welcome 🙂

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

  • RE: problems with OPENXML - how to avoid using the xmlns

    See if something along these lines works for you:

    DECLARE @doc NVARCHAR(MAX)

    SET @doc = N'

    <UNODocument

    docID="DispHNRP"

    xmlns="http://www.theUNO.com/schema"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://www.theUNO.com/schema http://reports.theCASO.com/docrefs/schema/DispHNRP_r1.xsd">

    <UNODocHeader>

    <DocTitle>Commodity Price (HNRP) Report</DocTitle>

    ...

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

  • RE: Role/User/StoredProc/Functions/ExecuteAS/TVF

    Ukon (4/28/2011)


    Hello, I agree. I will evaluate my needs. Unfortunately I inherited this "thing" and am finally getting to review the non existent security on it and replace it with...

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

  • RE: Studio Manager Editing

    You can right-click the grid and choose Pane > SQL and edit the query manually as needed. There is also a button to open the SQL Pane on the "Query...

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

  • RE: Insert batches of 50-100 rows using UNION ALL - Huge hit on CPU

    jared-709193 (4/28/2011)


    The problem right now with using BCP right now is that the Perl script validates data by what errors occur during insertion. These defunct rows are written to...

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

  • RE: Insert batches of 50-100 rows using UNION ALL - Huge hit on CPU

    Perl has its place...but not for the use-case you described...unless it's calling bcp or dtexec 🙂

    Can you use Perl to strip off the header and footer and then use BULK...

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

  • RE: Join Query in sql

    IMHO using OPENQUERY to join the resultsets of two procs is a hack. I have not looked into it, nor do I intend to, but I would venture a guess...

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

  • RE: Plz Explain me the Notification services in SQL Server

    You mean there is a website that allows you to enter words and phrases that you want to learn more about...and it will search other websites, helping to...

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

  • RE: USER and Views

    In short...there is no way for SQL Server to retrieve information about the person logged into your web app. It only knows what login the web app used to authenticate...

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

Viewing 15 posts - 6,496 through 6,510 (of 7,164 total)