@gbn did I understand your comment correctly the other day that you actually got the Mork and Mindy reference? And you are of course quite right. I was about 10 when it aired in Sweden.
I think we're all old farts here. I suspect that in about 15 or 20 years people will be worrying about all that legacy RDBMS technology and the fact their DBAs are all due to retire in about 5 years.
And there will be a crusty old generation of NoSQL wonks that the devs all hate.
@gbn I'm sure. At some point there will be a critical mass of MongoDB punters who need transactions in their PHP apps all of a sudden and start pushing the devs for ACID.
Then there will be some people who want to be able to push complex query execution into the database for efficiency, so they will start pushing the MongoDB team for a feature where they can use logic in a query that compares values in two or more different tables and can return data from more than one table at once.
Then they will have problems with data integrity as they have to update multiple tables, and will then start wondering about how they could implent 'Don't Repeat Yourself' in a database. If only there were a mechanism so that all of the attributes of a single object could be grouped together in one place and then associations with other objects materialised in the database in a way that allowed the relationship to be reconstructed at runtime.
Then someone will work out what a PITA that inlining repeating groups on a table are when you want to use this matching feature that lets you query multiple tables at once.
The article might read 'JSON arrays considered harmful.'
Then someone else will have a requirement to support M:M relationships. All the crusty old farts will be sniggering in our horlicks and saying: 'Sonny, we had that technology 40 years ago, back when people still though XML was a really neat idea.'
@ConcernedOfTunbridgeWells they already said that too :-)
"The SQL Language was originally created for individuals connected to mainframes looking at green-colored-text on their 8 color monitors to work with business data."
My favourite bit of NoSQL hype is: "Stop fighting the database and get ready to go into a world full of fun ... as a guideline, zero-administration is required"
After detaching and reattaching a database to do a copy operation, all of the user objects are now missing from the database (I should add that the copy failed; according to the logs, there was an issue with a number of views. I didn't get a chance to really look it over before I discovered my m...
@NathanJolly the funny part being that their own website's links don't work (some inner links). Also they have a "Built-in management studio". Innovation indeed :-).
I have 3 drop-down listd. The 3 drop-down lists map some values. I have displayed a new option on the 3 drop-down lists.
I will click new displayed text box and enter the value to store it in the database.
I have a combination of:
new-value,new-value,new-value,
existing-value,new-value,new-val...
Their are two tables Leaves, Attendanceatd with data,
I need to display distinct ListofDates and employeeid from these two tables having some condition that in Leave table approvalstatus='Approved' and startdate / enddate period duration on both the tables Date column
Table schema: SQL FIDDL...
I'm trying to get my head round this mind boggling stuff they call Database Design without much success, so I'll try to illustrate my problem with an example.
I am using MySQL and here is my question:
Say I want to create a database to hold my India Movie collection. I have the following inform...
I am trying to write a SQL script which will go through a table with a newly created FK and pre-populate the key with a new row in the foreign table. I'm not 100% on how to do this or if its even possible in a single statement but here's my attempt:
UPDATE [dbo].[Blogs]
set AuthorSecurableId = i...
I have a project where 3 VMs (say VM1 VM2 and VM3) are given to me. Each with 4 GB ram, and 50 GB space. They have known static IPs.
All 3 VMs are installed with ubuntu 10.04 and MySQL. VM2 and VM3 will have data, and VM1 will act as the application engine, extract data from VM2 and VM3, integra...
You know, given that all our crystal balls have not been delivred yet, it would help to know what technology you use and - what the query plan and indices are. — TomTom2 hours ago
I have a desktop application using Entity Framework 5 that processes multiple videos in parallel, where each thread contains multiple child threads to accommodate multiple pass processing. Although multiple passes are normally daisy chained, these run in parallel using a queuing/dequeuing mechani...
I need to add a new column to an existing table, so that whenever a new row is added, or an existing row is edited, this column will be filled with the exact date and time of the transaction. I tried using TimeStamp but apparently TimeStamp it has nothing to do with Date time
It's just a bin...
I upgraded my installation of MySQL on my Mac OS X 10.8.3 using homebrew
brew install mysql
Everything seemed to go smoothly, but...not really, as it turns out.
I cannot add a new user (neither through the command line nor through phpmyadmin. I always get the error
Error in processing request...
Immediately? Doing your work? Hire a consultant, he will come to your office and sit there with you and you pay by the hour. Here you ask questions and people coming by answer them - but only if you are spending enough effort to make them clear (which your question is not). I tried a couple of times, but it still is totally unclear what you try to do there and how that is a dba question. — TomTom32 mins ago
I am experiencing a very weird behaviour from the management studio GO.
I am following the full-Text Search tutorial and I run the following query over adventure works
SELECT FT_TBL.ProductDescriptionID,
FT_TBL.Description,
KEY_TBL.RANK
FROM Production.ProductDescription AS FT_TBL INNER JOI...
I upgraded my installation of MySQL on my Mac OS X 10.8.3 using homebrew
brew install mysql
Everything seemed to go smoothly, but...not really, as it turns out.
I cannot add a new user (neither through the command line nor through phpmyadmin. I always get the error
Error in processing request...
@gbn yup, I'm very intrigued. Too bad I don't have an instance of SQL Server 2012 to test this on
@gbn should that question be on DBA.SE?. Really strange stuff (at least for me, a person that doesn't really have much knowledge on the internals of SQL Server)
I can reproduce this
Assuming a GO..SELECT..GO pattern and some blank lines
Before After Rows
y n 6
y y 4
n y 4
n n 4
If I change the order of events...
Before After Rows
y n 6
y y 4...
@ypercube no, I didn't...but am about to. are there any options I should invoke? the documentation says shell> mysql_upgrade [options] so I am wondering (before reading the whole doc) if there is anything I should consider an important option and should definitely include?
When I try to run this:
exec master..xp_cmdshell 'C:\f\alert.bat'
I get the following error message:
'alert.bat' is not recognized as an internal or external command,
operable program or batch file.
How can I run this batch file using xp_cmdshell?
EDIT: The command above is verbatim. I ...
I am experiencing a very weird behaviour from the management studio GO.
I am following the full-Text Search tutorial and I run the following query over adventure works
SELECT FT_TBL.ProductDescriptionID,
FT_TBL.Description,
KEY_TBL.RANK
FROM Production.ProductDescription AS FT_TBL INNER JOI...
Let's recap. You asked this question. Arguably too localized because it can take a lot of work to reverse engineer such queries. I commented that the queries were awful, but also suggested that you, yourself, could both (a) determine whether they were semantically equivalent and (b) determine whe...
I have a stored procedure which uses IDENT_CURRENT to update last added value in a table.
The issue is:
IDENT_CURRENT returns a value that does not exist in the table.
The number it returns is much higher than Max(ID) of the table.
How is it possible and what can be done to fix it. I never want...
@bluefeet you do realize you're just supposed to edit them, right? You should only flag one or two, and that to ask the mods to send a PM asking them to adapt to the site.
In other news, link me to an answer that hasn't been edited
in which case, there is a way that can be combatted (regex on the text in the editor/submission) where they are told the post is shite and won't be acceptable (we already to this in certain cases)
To bad you did not post the actual error message you got. 'C:\f\alert.bat' is not recognized as an internal or external command, operable program or batch file. I actually did some tests to figure out what you saw but I could not recreate the error you posted with the command you posted. — Mikael Eriksson1 min ago
@Lamak The path `C:\f`is missing in the question. I thought he might be calling another alert.bat from the specified alert.bat or something. But it was much simpler.
I need to add a new column to an existing table, so that whenever a new row is added, or an existing row is edited, this column will be filled with the exact date and time of the transaction. I tried using TimeStamp but apparently TimeStamp it has nothing to do with Date time
It's just a bin...
@Lamak You can flag as off topic (I can at least). It will not count as a close vote but it will alert a moderator. And when they get tired of your flags they will perhaps start upvoting some of your answers so you can vtc directly :)
@alisamii It could be a Joomla issue (or a conflict of the extention with mysql 5.6). You could ask at the Joomla forums or the extention provider.
Otherwise, the error shows you have duplicate rows. If the table is just created by the extention, I can't understand how the installation script will try to put duplicates.
well, I am getting it with multiple Joomla extensions, and the the debs (nonumber.nl for one, akeeba the other) have confirmed that their extensions are 5.6 compatible
if you want, I can send you a join.me link and allow you to connect to my computer remotely
I would like to move a SQL Server database from a shared configuration with the web-server to it's own dedicated box. My current budget will allow me to put 4 disks together in an array with a single hot spare. I'd like to stretch to 8+ drives but the costs are a little out of my budget right now...
@ConcernedOfTunbridgeWells yes, it looks a bit localized. But for now it's kind of easy to answer (by you or Mark at minimum) so it's clear for the user and a future looker.
@Marian SSDs aren't rocket science. I just happen to have the dosh to be an (almost) early adopter.
Should put him in touch with @JackDouglas. JD's looking into setting up a lightweight hosting service for some of his clients. Maybe the OP's requirements would be right up his alley.
@Gonsalu I've got a new gig out of town that's a weekly commute but pays quite well. I'm also doing some product design work on an industry model product for another outfit. They think they're close to making a sale.
@ypercube It's a plugin/extension for Joomla. Uses Joomla's installation interface to install, using an xml manifest. So, not sure exactly what to put in the gist. the plugin is the free version of NoNumber Extension Manager nonumber.nl/extensions/nonumberextensionmanager
@Saladin we are gonna need something a lot more resembling a problem domain and a lot less like "permission to ask if I can ask about asking a question"
@AaronBertrand basically it's this: First vote is the main thing that counts, and if your first vote gets eliminated, then the points that were given to that person are distributed over the second ranked, based on how much percentage of the remainder that person should get. It is as you said very maths. Sometimes it makes my head hurt. But I followed the proof enough to see that it was very fair.
@saladin you're asking permission to ask a networking question here, even though it's too complicated to write it here? Am I the only one failing to find the sanity here?
@Saladin what @Aaron is saying is that the chat room is only for simple questions (solution comes off somebody's mind easily), the complex ones should be asked on the site - FAQ.
@jcolebrand well you redirected the man to the Comms Room, saw that. But they say in the room description that they don't like questions so maybe that's why he continued to ask here :).