Hogan

New York, NY

Age: 49

25+ years...
ASM, C, C++, C#, VB, ASP.NET, TSQL +many more


The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.


Programmer, Architect, Team Lead, Director, CTO
MS Comp. Sci @ NYU '95
hoganlong at us.ibm.com // hoganlong at gmail.com


oh, and #SOreadytohelp, but you can see that just looking below.

1d
comment Is the order of execution of operations in Javascript guaranteed to be the same at all times?
I believe this should clear up any questions developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…
2d
comment Full columns names on SQL management
This has nothing to do with SQL it has everything to do with the program you are using. What program are you using?
2d
comment Unable to insert null values in nullable column via stored procedure in C#
This is because AddWithValue() sucks some of the time.
2d
comment SQL Server GetDate function to return a future date
@JoeStefanelli - In IT Poker DBA out-ranks Data Center Guys.
2d
comment SQL Server GetDate function to return a future date
Your DBAs are right. Find someone to override the "Data Center guys" and save you hours of work. However, remember that the OS date is local -- so if you are on the west cost (or india) or where ever, a future time might be as simple as a localization change.
2d
comment How can you count the amount of times one column value appears with another column value in SQL
I think you need a sub-query if you want to order by those column names.
2d
comment How can you count the amount of times one column value appears with another column value in SQL
how is it possible for this question to be both mysql and oracle. Please pick a platform
2d
answered How to copy a column without duplicate values? SQL
2d
comment Execute Query to produce View and count record with Column value
this wouldn't work without an alias on many platforms.
2d
comment Execute Query to produce View and count record with Column value
This is not a query that produces a view. It also has a number of syntax errors and not run on any platform. Also what platform are you using? Finally, what exactly is your question?
2d
revised Execute Query to produce View and count record with Column value
added 43 characters in body
2d
revised Execute Query to produce View and count record with Column value
added 43 characters in body
Feb
11
comment Can anyone explain how this recursion code works exactly and what happens in the programs stack or in memory step by step?
Think of a binary tree... that might help.
Feb
8
comment How can I make my current code efficient by avoiding if-else conditions?
@Jean-BaptisteYunès - it could matter, this is a micro-controller. If it is a real time system then every nanosecond counts.
Feb
8
comment How can I make my current code efficient by avoiding if-else conditions?
@FarazAhmad - everyone is saying this is the way to do it? What exactly do you want as confirmation? If you want confirmation then test it yourself.
Feb
8
comment How can I make my current code efficient by avoiding if-else conditions?
exactly, an array of function pointers.
Feb
8
comment How can I make my current code efficient by avoiding if-else conditions?
@FarazAhmad - just because you can't implement it does not mean it is the wrong way to do it.
Feb
8
comment How can I make my current code efficient by avoiding if-else conditions?
@M.M in some cases maybe but here we have to call the function anyway, and there are exactly 10 of them. How can an array of pointers not be faster?
Feb
8
comment How can I make my current code efficient by avoiding if-else conditions?
Here is a hint. Array of function pointers.
Feb
8
comment SQL Join query to join 2 tables to get desired output
@sachinv - No. Now you have to do some work. You need to show what your starting data is -- what code you are using and what you expect. AS WRITTEN IT IS NOT POSSIBLE TO GET THE RESULTS YOU DESCRIBE. As I say in my edit.
1 2 3 4 5