Viewing 15 posts - 526 through 540 (of 623 total)
does your tree look like this
1
--2
--3
--4
5
--6
--7
--8
That is the structure defined in your #Original table.
the data in #New doesn't mnake sense, because the top level and submenus are mixed up in...
September 19, 2012 at 6:30 am
This is not really a SQL problem, although SQL will be part of the solution.
Assuming that this is a web based application, you will need to make an asyncrinous Javascript...
September 19, 2012 at 6:25 am
What do the three columns represent?
I think there are some logic errors in your desired output because the results do no appear to be consistent (which makes it difficult to...
September 19, 2012 at 6:18 am
if you have 150K columns, how many rows?
September 19, 2012 at 5:33 am
Wrong board I think...
SQL doesn't use foreach loops, it is a set based language. You apply the same change to every record at the same time (unless you are...
September 18, 2012 at 2:12 am
do you mean global ##temptables
These persist between stored procedures until the session is ended or the connection is dropped.
you can fill a ##temptable in one procedure and access the data...
September 14, 2012 at 5:54 pm
Joe,
Can we reset the argument here about what we mean about a primary key and foreign key. I have read the intro sections to a couple of your books...
September 14, 2012 at 5:41 pm
Celko, I'm really not sure where to start....
I fear for the next generation of business analysts and DBAs if this stuff is included in your books..
"It is recognised, recommended...
September 14, 2012 at 3:56 pm
They've got some other issue if they're slow. I've got tables with 5-column clustered keys that are lightning fast.
They did - they were working in Progress :-P. It was...
September 14, 2012 at 3:28 pm
[quote-0It's quite common for a product to "evolve" over time without its' stock code changing - it's rampant in the fashion world. Clients, agents, reps all know an item by...
September 14, 2012 at 3:18 pm
yeah, don't use the wizards, learn to programme - it will be quicker in the long run and the next developer will thank you for it.
September 13, 2012 at 2:10 pm
[
If I create a table to look up state codes ('AL', 'AK', etc.), I use state code as the key, not a meaningless identity value.
fine, but if you are creating...
September 13, 2012 at 2:07 pm
Look at the concept of n-tier architecture, or MVC patterns.
The idea is to separate out different processes and let each tool carry out it's area of expertise.
E.g. Let SQL...
September 13, 2012 at 1:45 pm
If you can't unencrypt it, is there any point in keeping it
Yes, an example is in my original post; where you convert another value and compare the results. Most...
September 13, 2012 at 1:34 pm
Generally when encrypting a password you will use an algorythmn (spelling...) like SHA1
The point of this is it is a one way encryption. When you come to validate it, you...
September 13, 2012 at 9:25 am
Viewing 15 posts - 526 through 540 (of 623 total)