So Portugal finally managed to win a game of football in 90 minutes. Unbelievable that they got to the semifinals without doing so. Talk about peaking at the right time.
I'm looking for the best solution to store XML data. As far as I can see, I should probably look for a document/NoSQL database, but I'd love suggestions.
I'm also working with C# and Visual Studio, which has a good designer to help with all the queries if I use SQL Server.
Now I just need to see if I can figure out how to automate table setup from XSD or XML definitions. It won't be completely bad if I can't, but it'd save me a lot of work.
@WilliamMariager There is an old library that does that, complete schemas including (FKs) from XSDs
How to import XML into SQL Server with the XML Bulk Load component http://support.microsoft.com/kb/316005
The XSDs are naturally tricky to set up.
How to create tables in a database using an XSD schema and SQLXMLBulkload http://blogs.msdn.com/b/monicafrintu/archive/2007/06/12/how-to-create-tables-in-a-database-using-an-xsd-schema-and-sqlxmlbulkload.aspx
A bit "old school" but still a powerful technique.
How could you remove all characters that are not alphabetic from a string?
What about non-alphanumeric?
Does this have to be a custom function or are there also more generalizable solutions?
sorry, don't really follow. "all i want is number values 0-9 and/or a "." character everything else i need stripped out." and then " i dont want to use a regex in a where clause because i still need the records that may contain other characters"
Users enter a search term in a box, and that value gets passed to a stored procedure and checked against a few different fields in the database. These fields are not always of the same data type.
One field (phone number) consists of all numbers, so when checking it strips out all non-numeric cha...
really, my actual problem is i have this varchar column i need to convert to decimal. however, it seems to fail on some row(s) - i think this is because there is some extra "junk" in there. i know if i copy the values without trying to convert, i do see a return character. so i've then done a replace(), replacing char(13) with '' - this gets rid of those return characters.... but im still getting a conversion error
@JzInqXc9Dg As part of investigation, you could return your varchar values converted to varbinary to see the character codes. I would probably first strip the good characters and leave the bad ones for observation, to make things easier.
@JzInqXc9Dg Not sure about good but I'd try this: CAST(REPLACE(REPLACE(...(REPLACE(REPLACE(YourColumn, '0', ''), '1', '') ...), '9', ''), '.', '') AS varbinary(100)).
The 2012 RBS computer system problems were technical issues affecting computers run by The Royal Bank of Scotland Group, including NatWest and Ulster Bank, which began on 19 June 2012.
In 2014, RBS was fined £56m over the incident.
== Cause ==
A software update was applied on 19 June 2012 to RBS's CA-7 software which controls its payment processing system. It later emerged that the update was corrupted by RBS technical staff. Customers' wages, payments and other transactions were disrupted. Some customers were unable to withdraw cash using ATMs or to see bank account details. Others faced fines...
That may or may not have been stored procedures that weighed in at multi-megabytes
Well, at the moment, I'm sticking with them. They just promoted me, and I start that position next week. They told me if I finish my degree out, they'll transfer me to HQ in the IT department whenever I would like.
I have like 7 credit hours to getting my degree.
But, I'm not sure where to go after that.
I'll probably stay at this facility for the next 18 months in the position I start next week, and then move up after that.