Forum Replies Created

Viewing 15 posts - 5,131 through 5,145 (of 7,191 total)

  • RE: T-SQL - View

    Works OK for me. Please will you provide table DDL (in the form of CREATE TABLE statements) and some sample data (in the form of INSERT statements) for table1,...

  • RE: T-SQL - View

    That's not a view - it's just a SELECT statement. Please will you post the whole view definition and we should be able to help you.

    Thanks

    John

  • RE: Internal clock times and datediff query

    Thanks for posting back. It's customary in situations like this for you to post some code or a description of how you fixed it, please, in case someone else...

  • RE: Updating SSIS Configuration File Value During SSIS Runtime

    It all depends how many packages you have, and how distributed are the servers that they read or update. Usually, I would want my config information close to my...

  • RE: way to genate 12 digits number with less bytes used

    Just use bigint instead of int. If you insist on it being a 12-digit number, you can either start at 100000000000, or have your presentation layer pad the number...

  • RE: Internal clock times and datediff query

    To get the date portion, cast your date value as date. To get the seconds, use DATEDIFF to find the seconds between the date value and the date portion...

  • RE: Updating SSIS Configuration File Value During SSIS Runtime

    You're quite right, Phil. In that case, I would go with Koen's suggestion and store the value in a table somewhere. It's much easier to modify a database...

  • RE: Updating SSIS Configuration File Value During SSIS Runtime

    I think it would be simpler if, instead of updating the config file, either you evaluate the variable using an expression, or you output a value at the end of...

  • RE: Restoring DB

    That error looks specific to LiteSpeed. If I were you, I'd raise a case with Quest support - they're very helpful. Check out their knowledge base first -...

  • RE: Auto Page Recovery with DB Mirroring

    Tom.Thomson (8/18/2011)


    ...

    Rather a lot (60%) of people getting it wrong, surprisingly.

    I'm surprised that more people didn't get it wrong - especially if, like me, they attempt to answer without looking...

  • RE: Edition change in clustered environment

    Standard Edition can be clustered - we have many instances of it where I work. As for changing the edition, I don't know. Why can't it be done...

  • RE: Declare statement inside cursor

    In my case it is bit diffcult to replace the entire cursor.

    Difficult if you are used to programming in a procedural language, maybe, but this is the sort of stuff...

  • RE: Declare statement inside cursor

    To be honest, I'm surprised you're not getting that message about variable names being unique, since you're declaring it again and again in the same batch. But if it...

  • RE: help with an sql problem

    dardar4 (8/17/2011)


    thnx for the help but that didn't work

    insert into MyTable (file_desc, is_modified) values ('a.txt',0)

    insert into MyTable (file_desc, is_modified) values ('a.txt',1)

    insert into MyTable (file_desc, is_modified) values ('b.txt',0)

    insert into...

  • RE: help with an sql problem

    Sounds like a homework question to me. Can you show us what you've tried so far?

    John

Viewing 15 posts - 5,131 through 5,145 (of 7,191 total)