Forum Replies Created

Viewing 15 posts - 5,416 through 5,430 (of 7,164 total)

  • RE: CHARINDEX of varbinary column

    Please post the query you're trying. Obfuscate names as needed.

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

  • RE: Deleting old files through SSIS?!

    WebTechie38 (7/19/2011)


    I tried putting breakpoints, but they didn't work.

    I read somewhere that those don't work in the script editor.

    They work...but there are restrictions.

    Is there supposed to be a flat file...

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

  • RE: Deleting old files through SSIS?!

    WebTechie38 (7/19/2011)


    Well I did look for a SSIS forum for SQL Server 2008.

    I may have missed it.

    There isn't one. There's one for 2005 and a generic one for Integration Services...

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

  • RE: Deleting old files through SSIS?!

    WebTechie38 (7/19/2011)


    Hello,

    Thanks for the example. Unfortunately, corporate policy won't allow me to do any powershell coding.

    That is why I was trying to do this in SSIS.

    Thanks,

    Tony

    Booo... 😛 Do they...

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

  • RE: Table Fragmentation and Avg_Page_space_used_in_percent

    Jannie-186227 (7/19/2011)


    while we on this 🙂

    I hope I did not start anything here 🙂 My post was meant to help fellow Googlers in case they were on the hunt for...

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

  • RE: SSIS - Is there some type of intellisense to add variables when in Script task editor?

    Gotcha, the script editor, not the expression editor.

    The DTS variables collection has to be accessed using a string literal indexer, so not, there is no IntelliSense there. And yes,...

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

  • RE: SSIS - Is there some type of intellisense to add variables when in Script task editor?

    In the epxression editor you can drag-and-drop them from the Variables pane into the expression writing area. Same deal with the Functions pane. I do not know of an IntelliSense...

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

  • RE: Deleting old files through SSIS?!

    That sure is a lot of code to delete files older than n-days. Here is a one-line PowerShell command that does the work for you. You can execute the command...

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

  • RE: Enter the file storage type of field SourceID [char] when using xp_cmdshell

    GSquared (7/19/2011)


    I use SSIS for that kind of thing.

    +1 on SSIS

    If you must use bcp do yourself a favor and move the call into a SQL Agent CmdExec or PowerShell...

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

  • RE: built in method name

    In SSMS look in master under Programmability>Functions>System Functions>Scalar-valued Functions

    Interesting one:

    SELECT sys.fn_numberOf1InVarBinary(0xEF0207)

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

  • RE: built in method name

    Please post back when you find out...I am always interested in these neat little oddities 😀

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

  • RE: built in method name

    I was thinking of built-in functions...what you just described now has me thinking it was a user-defined function.

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

  • RE: Fitting In

    cfradenburg (7/19/2011)


    I've taken the same attitude when interviewing. I don't want to go through six jobs in eight years so I'll find out as much as I can during...

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

  • RE: inner join/union across multiple tables

    LutzM (7/16/2011)


    You could also replace UNION with UNION ALL since due to the different values for s.objecttype in each UNION statement there isn't any need to check for duplicates.

    +1000

    Switching...

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

  • RE: Performance Tuning Of SQL using ISNULL in JOINS

    What is migration_db? Is this a one-time migration? You have a design or a data issue or both if your regularly matching a nullable column to another and always treating...

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

Viewing 15 posts - 5,416 through 5,430 (of 7,164 total)