Forum Replies Created

Viewing 15 posts - 31 through 45 (of 68 total)

  • RE: Need to consolidate data from Multiple EXECs

    OK...let's agree to disagree. I see something like that, no good reason for something like that in a multi-user environment, and I take it to be a programmer's request...

  • RE: Need to consolidate data from Multiple EXECs

    "The point is you don't know for sure."

    Actually you made that leap to multiple users not me, I took it at face value. Why would any application possibly...

  • RE: Need to consolidate data from Multiple EXECs

    I didn't see that being a requirement...where do you see that?

    It wasn’t this:

    “I need to pull data using multiple EXECs to get individual items. Example:”

    Or this:

    “Obviously, the output will be...

  • RE: Need to consolidate data from Multiple EXECs

    If you don't want to predefine the table you can use something like this:

    declare @iParm int

    set @iParm = 111249972

    declare @sql varchar(1000)

    set @sql = 'SELECT a.* into...

  • RE: How to return Null or value when nothing is returned from Query

    tnocella (10/10/2011)


    I have a simple query:

    SELECT name FROM atable WHERE a = 1

    I want it to return Null if it finds nothing, but it just returns an empty...

  • RE: Stored Procs vs Normal Query

    BinaryDigit (7/20/2011)


    Hi

    I know that stored procs are a lot better than executing the same script all the time because it is able to cache, but becasue caching will mainly help...

  • RE: Limit access to programs

    K. Brian Kelley (5/11/2011)


    tyson.price (5/11/2011)


    - Under what security context does the back-end database get run?

    I don't know the answer to that. Maybe if you worded it differently.

    Actually, I typed...

  • RE: Limit access to programs

    GilaMonster (5/11/2011)


    Sorry, wasn't clear. The name of the account means little without access to your network. Is it a local machine account? A domain account? What permissions does it have?

    Is...

  • RE: Limit access to programs

    GilaMonster (5/11/2011)


    tyson.price (5/11/2011)


    - Under what security context does the back-end database get run?

    I don't know the answer to that. Maybe if you worded it differently.

    What account does SQL Server...

  • RE: Limit access to programs

    K. Brian Kelley (5/11/2011)


    Keep in mind that a logon trigger that blocks a certain application (like Excel) will do that for all connections of that application. So if you have...

  • RE: Limit access to programs

    Thank you...I passed that on to my project leader 🙂

  • RE: Limit access to programs

    That being understood my question remains unanswered...can a specific program\executable be blocked?

  • RE: Order of Tables in a Query

    I'm no expert by any means but I posted a similar question once before. Generally speaking, just from what I was told, it really doesn't matter in basic joins....

  • RE: Alternative method to a Trigger needed

    DerbyNeal (3/2/2011)


    Hi Tyson,

    Thanks for the tip. The INSERT table/method is VERY useful - but wouldn't I still require a TRIGGER to run it though?

    Using this method I would still need...

  • RE: Alternative method to a Trigger needed

    Maybe an alternative to a trigger is the OUPUT statement:

    DECLARE @TmpTable TABLE (ID INT, TEXTVal VARCHAR(100))

    ----Insert values in real table as well use OUTPUT clause to insert

    ----values in the temp...

Viewing 15 posts - 31 through 45 (of 68 total)