Viewing 15 posts - 16 through 30 (of 548 total)
For easier readability, I always write my hard code dates as 'yyyy-mm-dd'.
April 30, 2015 at 2:57 am
Seeing this weird fiscal calendar really intrigues me - never seen or heard of this one.
I wonder how many different fiscal calendars there are out there in the real world.
I...
April 30, 2015 at 2:24 am
Iwas Bornready (4/28/2015)
Not sure I will ever use it in my every day work. Interesting nevertheless and I'm sure someone will make use of it. Thanks for the exercise.
In fact,...
April 28, 2015 at 8:27 am
Jonathan AC Roberts (4/28/2015)
It's used so the right-most bit, which is set to 1 two's...
April 28, 2015 at 1:59 am
Any particular reason for
~CONVERT(bigint, -9223372036854775808)
instead of
CONVERT(bigint, 9223372036854775807)
My Italian keyboard doesn't have this famous tilde characters! :crying:
Oh crap, forgot all about copy/paste. 🙂
April 28, 2015 at 12:14 am
But before swearing at someone, look at the data.
Quite a while back I looked at a table at a customer site designed by another vendor where a quick select *...
February 1, 2015 at 3:01 am
Very cute this Mandelbrot output. It reminds me when I did this in the days of IBM STORY BOARD, creating a very beautiful color graphical output sequence.
A query I receive...
January 20, 2015 at 3:10 am
Had a good laugh 😀 watching you and Grant performing those competitions showing who can type fasted - with or without SQL Prompt at http://www.red-gate.com/products/sql-development/sql-prompt.
January 20, 2015 at 2:08 am
Create a file called tc.vbs with these two lines:
Set objConn = CreateObject("ADODB.Connection")
objConn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=computer\instance;DATABASE=database;USER ID=usr;PASSWORD=pwd"
Then in DOS issue: cscript tc.vbs
But, I really like that udl trick...
January 19, 2015 at 8:24 am
I'm using a general purpose logging table where any part of the application (backend or frontend) can log to. I'm curious to know what your table(s) look like. Naturally, the...
January 16, 2015 at 6:29 am
Jeff, so what was the trick?
I guess when you need to execute something only once and it takes 900 miliseconds you give it no further thought.
Still, getting anything at all...
December 30, 2014 at 8:22 am
Jeff Moden (12/28/2014)
December 29, 2014 at 1:36 pm
Eric M Russell (12/17/2014)
DonlSimpson (12/17/2014)
...
December 18, 2014 at 3:44 am
By the term 'in the real world' I meant: actually used in some SQL code (or non SQL code) in a real software implementation.
December 18, 2014 at 3:07 am
And there is yet another variant:
SELECT Y + X AS Position
FROM (VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'), ('07'), ('08'), ('09'), ('10')) AS X(X)
join
(VALUES ('A'),...
December 18, 2014 at 3:02 am
Viewing 15 posts - 16 through 30 (of 548 total)