Forum Replies Created

Viewing 15 posts - 6,961 through 6,975 (of 7,164 total)

  • RE: Winzip Drama in T-SQL Task

    Random thoughts...

    Curious, what is @ doing in your command line? This is what I get when I run your code:

    "D:\Program Files\Winzip\wzzip.exe" -m \\MyServer\MyShare_dev\Folder1\Processed\Group\Item\Details_201103101058.zip @\\MyServer\MyShare_dev\Folder1\Processed\Group\Item\Details.lst

    Just a hunch...try surrounding your file name...

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

  • RE: Error produced when converting SQL into XML

    I guess I had gotten farther than you and missed the issue completely...I thought you were having trouble parsing the XML in the script task. ADO.NET is what I used...glad...

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

  • RE: Connecting to SQL server: SLOW- IP adress, FAST- name

    Are you comparing apples to apples...are:

    - both connections from SSMS on the same machine?

    - both connections from SSMS but on different machines?

    - you using SSMS using instance-name and some web...

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

  • RE: database mail trigger on insert

    Kiara is on to something with permissions. Also make sure the user executing the statement that is firing the trigger has permissions to TRUNCATE the table.

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

  • RE: SP takes about 11 sec inside app. -- But instantly in SQL Mgmt Studio

    That is not a lot of information to provide for a performance problem...there could be a lot of reasons for this type of scenario to arise.

    - Are you running it...

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

  • RE: How to code to delete count(OrderID )>1 and [City]=null?

    You have a point...I read more into this part of the requirement

    delete count(OrderID )>1 and [City]=null

    meaning to me "only delete rows with a NULL City if there is another row...

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

  • RE: How to code to delete count(OrderID )>1 and [City]=null?

    ColdCoffee (3/9/2011)


    Or this>

    delete from #Temp

    where OrderID IN

    (

    select T.OrderID

    FROM #Temp t

    GROUP BY T.OrderID

    HAVING (COUNT(*) > 1 AND COUNT(T.OrderID) <> COUNT(T.City))

    )

    This deletes both rows where OrderID = 111111 which...

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

  • RE: Parse delimited string into XML data

    Here is one way for PK = 1:

    WITH cte(element)

    AS (SELECT CONVERT(XML, '<root><i>' + REPLACE(beforeImage,...

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

  • RE: How to code to delete count(OrderID )>1 and [City]=null?

    Try this:

    WITH cte(OrderID)

    AS (SELECT OrderID

    ...

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

  • RE: Encrypting a varbinary(max) field

    The return type of ENCRYPTBYKEY is varbinary(8000) http://msdn.microsoft.com/en-us/library/ms174361.aspx

    You may want to look into doing something homegrown using SQLCLR, or look around for projects on codeplex or sourceforge.

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

  • RE: SSIS calls from .net not calling 32 bit version

    Sopheap Suy (3/9/2011)


    Thank you Julie. I am able to manually run this package on a 64 bit server in debug mode. Todd's blog doesn't describe if there is...

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

  • RE: Which Reporting tool supports adhoc reporting?

    Another link...MDX support in Report Builder: http://msdn.microsoft.com/en-us/library/dd220489.aspx

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

  • RE: Which Reporting tool supports adhoc reporting?

    AFAIK Report Builder can be used to build ad hoc reports using a cube as an initial data source.

    1. Create and publish a Report Model from an SSAS Cube: http://msdn.microsoft.com/en-us/library/ms345292(v=SQL.105).aspx

    2....

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

  • RE: database mail trigger on insert

    What does the error message say?

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

  • RE: Connecting to SQL server: SLOW- IP adress, FAST- name

    Sounds like it could be a network route issue. From your machine, what IP does the server name resolve to? Is it the same as the IP address you were...

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

Viewing 15 posts - 6,961 through 6,975 (of 7,164 total)