Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

In Informix I can run SQL statement that use other database: INSERT INTO other_db:mytable ... I would like "unite" both databases, but I would like do it "step by step". At first I want to move all ...
Michał Niklas's user avatar
4 votes
5 answers
8k views

I have a SQL statement similar to this: SELECT COUNT(*) AS foo, SUM(foo) AS foo_sum FROM bar But MySQL doesn't allow this because foo is an alias. Does anyone have an idea of how this could be ...
joshwbrick's user avatar
  • 6,002
10 votes
3 answers
46k views

I am working on a web application that allows users to upload attachments. These attachments are stored on a different drive than that of the web application. How can I create an alias (equivalent ...
Dan Polites's user avatar
  • 6,830
7 votes
9 answers
12k views

I'm trying to figure out if Haskell uses dynamic or static scoping. I realize that, for example, if you define: let x = 10 then define the function let square x = x*x You have 2 different "x's", and ...
Sev's user avatar
  • 15.8k
1 vote
6 answers
1k views

Since I'm sure many people have different standard, I've made this post a community wiki. My question is, what's a good naming scheme for table aliases? I've been using the first letter of every word ...
11 votes
4 answers
7k views

I found one source which successfully overrode Time.strftime like this: class Time alias :old_strftime :strftime def strftime #do something old_strftime end end The trouble is, strftime ...
Sniggerfardimungus's user avatar
6 votes
5 answers
1k views

I have inherited a c# class 'Button' (which I can't change) which clashes with the BCL class 'Windows.Forms.Button'. Normally, Id be very happy to go: MyPackage.MyClass.Button; But there are a large ...
TK.'s user avatar
  • 48.1k
6 votes
9 answers
1k views

In other words, is it correct to use: public class CustomerList : System.Collections.Generic.List<Customer> { /// supposed to be empty } instead of: using CustomerList = System.Collections....
Trap's user avatar
  • 12.4k
5 votes
5 answers
36k views

Ok, this is bit of an obscure question, but hopefully someone can help me out with it. The system I'm working on builds a dynamic SQL string for execution inside a stored procedure, and part of that ...
Chris McAtackney's user avatar
7595 votes
67 answers
1.4m views

What are the differences between these two, and which one should I use? string s = "Hello world!"; String s = "Hello world!";

1
90 91 92 93
94