Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by expostfacto

  1. expostfacto

    Python telnet server -- Server not sending back output to client

    You have several problems. First, you need to capture the command's stdout (and probably stderr), not just its return code. Read the subprocess documentation for how. ("stdin, stdout, and stderr specify what the subprocess's input, output, and error streams will be. You can provide a file...
  2. expostfacto

    Any sqlObject users? (Triggers question)

    No. SQLObject doesn't deal with triggers. http://spyced.blogspot.com: a python blog
  3. expostfacto

    Jet 3.5 SQL and tables

    1) sounds like you'll have to kick off the other users first :) 2) use a subselect: update foo set bar = (select asdf from baz where foo.id = baz.id) http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  4. expostfacto

    math question

    boil down your sql to the simplest example that errors out, then fix it. :P http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  5. expostfacto

    Case sensitivity in Sybase Database

    you just need to set the sort order to a case-insensitive one. http://manuals.sybase.com/onlinebooks/group-ch/chg0300e/charsets/@Generic__BookTextView/796 http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  6. expostfacto

    Altering column size

    read the docs on alter table. http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  7. expostfacto

    saving a file in a database

    you can use either LOB or BYTEA. there's a lot on these in the mailing list archives (or google groups). http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  8. expostfacto

    Sybase if statement question?

    that doesn't make sense to me. what tool are you using to execute this query? what happens when you do this? if exists ( select 1 from sysobjects where name = 'DB_IN_QUESTION' ) begin select 1 end else begin select 2 end http://www.carnageblender.com: Carnage Blender. Over 40...
  9. expostfacto

    SQL Table Pivot-like Requirement

    thanks, good to know. http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  10. expostfacto

    is there any other shorter way to write these queries

    out of curiosity, which is that? http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  11. expostfacto

    is there any other shorter way to write these queries

    perhaps a sufficiently smart planner will be able to see that the IN is functionally equivalent to the exists, but I have not seen any vendor's database do this correctly. http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  12. expostfacto

    SQL Table Pivot-like Requirement

    what is the ANSI equivalent of CONNECT BY, then? http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  13. expostfacto

    "missing expression"

    it looks like it thinks you're trying to call a function called professors_t. http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  14. expostfacto

    Simple? Java Date Query

    you're going to have to play with the Calendar or Date classes. see http://mindprod.com/calendar.html http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.
  15. expostfacto

    How to use this JAR file?

    sorry, but you really should read some basic documentation on classpath before asking stupid questions. much less criticising the author of a library for not providing "java for dummies" tips. http://www.carnageblender.com: Carnage Blender. Over 40 million battles served.

Part and Inventory Search

Back
Top