Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 5,504 total)

  • RE: Is there any way to run the query more than 8000 character via openquery?

    How would such a parameter string look like?

    Could you attach a fake sample?

    I'm just wondering what kind of query would require more than 8k for parameter...

  • RE: Running as SysAdmin

    Ninja's_RGR'us (5/4/2011)


    kim.etcheson (5/4/2011)


    We bought a vendor package where the vendor hardcoded the db logon and password in the application that we couldn't change on the database or the app wouldn't...

  • RE: Neeed Select Statement:Help to show record of student

    You could either use PIVOT or the CrossTab approach.

    For the former, please have a look at BOL, the concept of the latter is referenced in my signature block.

    As a side...

  • RE: SQL SERVER QUERY

    Instead of using GOTO I'd recommend you either include those code sections directly into the related IF block. If there's too much code, use separate sprocs and call those.

  • RE: Is there any way to run the query more than 8000 character via openquery?

    Do you have a chance to either create a view or a sproc at the db referenced in OPENQUERY that would hold the content of @sqlquery? Then you could just...

  • RE: how to prevent a user form editing a record in a table that is referenced in another tabe

    You could either add a foreign key constraint with no cascading actions or change the user permission to deny update of that specific column. The former would be the solution...

  • RE: JavaOne & Oracle Develop Conference 2011

    [SET SARCASM ON]

    The products mentioned above must have great community web sites. What else would be the reason to ask for recommendations like the above in a SQL Server forum?

    [SET...

  • RE: UPDATE query question

    I don't think your latest reply will return the same result since you'd only number the rows with filed1=0 instead of all related rows.

    Regarding PARTITION BY: it owuldn't make a...

  • RE: Likned Server Error

    Does the sproc return any error when run from SSMS (Management Studio)?

    If so, what tool do you use to "run (and design) the report in intranet"? Assuming it is SSRS...

  • RE: UPDATE query question

    I'd like to ask for table def and sample data to verifiy if the query is exactly what you're looking for.

    But there's definitely one thing I'd change: replace the name...

  • RE: UPDATE query question

    raistlinx (5/4/2011)


    ...

    Yes that is what I understood the problem to be from the analyst who gave it to me. I knew it had to be a common problem. Is there...

  • RE: UPDATE query question

    Looks like a "classic" triangular join to me.

    It might be a better way to use ROW_NUMBER() instead of the COUNT(*) in a subquery approach.

    Would it be possible to post table...

  • RE: Likned Server Error

    I'm guessing toward the same direction as Stefan:

    Assuming V_KASSTRNS and V_PERSONAL are views, both could have the hardcoded APP06 linked server referenced in the underlying query.

    I'd check the definition of...

  • RE: Stored procedure question

    You might also want to have a look at Gails blog regarding the caveats of catch-all-queries[/url]

  • RE: What or Yes

    Ninja's_RGR'us (5/4/2011)


    What culture is he from?

    I personnally wouldn't be offended... but I'm from around here :-D.

    I'm from around here, too. How come we never met? :-D:-P

    Regarding the subject (but not...

Viewing 15 posts - 1,591 through 1,605 (of 5,504 total)