Forum Replies Created

Viewing 15 posts - 76 through 90 (of 252 total)

  • RE: Sleeping Connections

    Hmmm, couple thoughts.

    -Did you miss an "If" Or "End If" somewhere when pasting your code in? I copied

    your code into VB after removing the client side JSCript, removed...


    Tim C //Will code for food

  • RE: Bulk Insert / Export using XML

    There is something in SQLXML that might help you : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sqlxml3/htm/bulkload_7pv0.asp

    Tim C.

    //Will write code for food


    Tim C //Will code for food

  • RE: for xml to file from trigger

    You are right, another example of "I should have tested that" before posting it. FOR XML AUTO does not allow being used in a sub query, and I can not...


    Tim C //Will code for food

  • RE: Use of osql

    From BOL :

    quote:


    The osql utility passes everything between the parentheses ( ) to the server exactly as entered. If a stored...


    Tim C //Will code for food

  • RE: for xml to file from trigger

    1) DECLARE @Doc nvarchar(4000)

    SET @Doc = (SELECT Col1, Col2 FROM INSERTED As TableName FOR XML AUTO)

    2) Take a look at the XP_FILE in the freeware sction on this site @...


    Tim C //Will code for food

  • RE: Calling a T-SQL script from within a T-SQL script

    Your right, without using xp_cmdshell I don't see another way either. I was trying to offer him an alternative. I really did not understand the need to have it run...


    Tim C //Will code for food

  • RE: Table usage

    How about removing ALL of the rights to those tables? Then if they complain all he has to do is readd the rights. I would make sure to document the...


    Tim C //Will code for food

  • RE: Calling a T-SQL script from within a T-SQL script

    I would actually suggest using VBScript or JScript via WSH to execute your

    scripts. I used to do something similar to what you are talking about with batch

    files, but...


    Tim C //Will code for food

  • RE: Can't insert into table from OPENDATASOURCE

    Can you verify that the accounting.dbo.CUSTOMER_DEPOSIT_VOUCHER with that EXACT

    namespace exists? Many times I see errors like this occur because the owner is

    not the dbo, or some other version...


    Tim C //Will code for food

  • RE: SQL XML vs. XSL

    Could you post some sample xml, and the xsl?

    Tim C.

    //Will write code for food


    Tim C //Will code for food

  • RE: Log shipping VS Replication

    What about BITS, it is comparable to the RSYNCH capability that was mentioned ealier. I have not used it yet, would be curious to see if anyone has used it...


    Tim C //Will code for food

  • RE: Permissions needed to execute SP's

    Try this stored proc with :

    http://www.sqlservercentral.com/scripts/contributions/600.asp

    
    
    EXEC spSetPermissionsGlobally @name = 'ROLE NAME',
    @printonly = 0,
    @revokeOldRights = 1,
    ...


    Tim C //Will code for food

  • RE: Plz tell me how can i get Row Count

    Ok, disappointment sets in. The query I posted before does not work the first time you execute it. The second time it does, because the first time you run it...


    Tim C //Will code for food

  • RE: Blade Servers

    There were a couple things I left out so as not to muddy the waters, but you are correct. I am concerned that I might be overengineering and trying to...


    Tim C //Will code for food

  • RE: Insert List Columns

    It happens occasionally that someone will add a column to a table and sometimes place it in the middle of the previous table structure. Without using column names, all of...


    Tim C //Will code for food

Viewing 15 posts - 76 through 90 (of 252 total)