name (17,941)


unit testing - How to use combinations of sets as test data

unit testing - How to use combinations of sets as test data

I would like to test a function with a tuple from a set of fringe cases and normal values. For example, while testing a function which returns true whenever given three lengths that form a valid tria…


python - cx_Oracle: How do I iterate over a result set?

There are several ways to iterate over a result set. What are the tradeoff of each?…


Python and MySQL

I can get Python to work with Postgresql but I cannot get it to work with MySQL. The main problem is that on the shared hosting account I have I do not have the ability to install things such as Djan…


python - What OS am I running on?

What do I need to look at to see whether I'm on Windows or Unix, etc?…


Have you ever encountered a query that SQL Server could not execute because it referenced too many tables?

Have you ever seen any of there error messages?-- SQL Server 2000 Could not allocate ancillary table for view or function resolution. The maximum number of tables in a query(256) was exceeded.-…


python - Calling a function of a module by using its name(a string)

What is the best way to go about calling a function given a string with the function's name in a Python program. For example, let's say that I have a module foo,and I have a string whose content is "b…



How can I make the browser see CSS and Javascript changes?

CSS and Javascript files don't change very often, so I want them to be cached by the web browser. But I also want the web browser to see changes made to these files without requiring the user to clear…


sql server - How do I Transform Sql Columns into Rows?

I have a very simple problem which requires a very quick and simple solution in SQL Server 2005. I have a table with x Columns. I want to be able to select one row from the table and then transform t…


How do I Concatenate entire result sets in MySQL?

I'm trying out the following query: SELECT A,B,C FROM table WHERE field LIKE 'query%' UNION SELECT A,B,C FROM table WHERE field LIKE '%query' UNION SELECT A,B,C FROM table WHERE field LIKE '%query%'…


Is there any trick that allows to use Management Studio's(ver. 2008) IntelliSense feature with earlier versions of SQL Server?

New version of Management Studio(i.e. the one that ships with SQL Server 2008) finally has a Transact-SQL IntelliSense feature. However, out-of-the-box it only works with SQL Server 2008 instances.…




get how from with not example file the class value