Using the GRANT Command
The SQL GRANT command is used to grant access privileges to database objects and role authorizations. For example, the following statement grants the user username the right to SELECT tabname:
The SQL GRANT command is used to grant access privileges to database objects and role authorizations. For example, the following statement grants the user username the right to SELECT tabname:
In many situations, it’s wiser to use DataReader instead of a DataSet. However, DataReader is limited due to its inability to transform data rows into a suitable holder, like DataTable.
To customize error reports in StAX applications (except fatal errors), you can configure an XMLReporter like this: XMLInputFactory XMLif=null; //get an XMLInputFactory objectXMLif=XMLInputFactory.newInstance();//setting an XMLReporterXMLif.setXMLReporter(new XMLReporter() { public void report(String
Dean Allemang gave an extremely informative talk at JavaOne today in the session, “Semantic Web for the Working Ontologist.” I walked away thinking the term Semantic Web is misnamed. And
isual Studio is chock full of classes to implement exotic data structures such as collections, hash tables, and dictionaries. One notable data structure that’s missing is the tree. Trees are
Such was Sun developer Terrence Barr’s lament Tuesday night when he asked his Birds of a Feather session participants if they agreed with his portrayal of the arduous and frustrating
The “Developing Semantic Web Application on the Java Platform” session just wrapped up at the Moscone Center. Did the panel discuss Java to the audience of Java developers in attendance?
he auto keyword presented here is related to another C++09 proposal: the decltype operator. decltype(e) retrieves the type of the expression e. By combining decltype and auto, you can simplify
Yesterday at JavaOne, Sun Microsystems announced support for the BDLive.com Developer’s disc. So, what is BD Live? It consists of software and network services that allow the quick creation of
If I didn’t know better, I would’ve thought I was at CES (Consumer Electronics Show) in Vegas yesterday morning instead of the opening keynote at the JavaOne 2008 Conference in
n general, when a user drags and drops data from an external application onto your Windows application, you need to determine the structure of the data being passed in and
he Semantic Web is a grand vision for increasing the power of the web through better expression and management of context. Semantic Web developers are building a framework to open
If you’ve been living under a rock for the last month, you may not have heard about the Web 2.0 Expo in San Francisco last week. As I’m the Mistress
he new platform security features in S60 3rd Edition required several changes to the whole Python for S60 framework. Without these modifications, S60 3rd Edition can’t be supported by Python
n an ideal world, words like cryptography and security wouldn’t even exist, but the real world is far from perfect, so software developers have to spend a good deal of
gile software development has arrived in a big way. I know you’re probably thinking, “Wow! Rod, you are really on top of things.” I know that agile methodologies have been
arl Franklin: Let’s bring on Don. Don Demsak, a.k.a. DonXML, is an independent consultant based out of New Jersey. He specializes in building enterprise applications with .NET. He’s a Microsoft
The launch of the DevXtra Editors’ Blog is bound to raise the YAB (yet another blog) questions: Why, and why now? Those are fair in an age when everyone with
n a previous DevX article, you saw the basic process for using the LinqDataSource control to retrieve and display data. That article discussed functionality such as passing parameters to a
The Semantic Web is a vision, an idea, a base-set of technologies. It’s not something Dad picks up at the computer store. It’s not something the press understands very well. It’s certainly
ften when developing reports in SQL Server Reporting Services (SSRS), mixing summary (or grouped) data with transactional detail becomes a requirement. Show a sales manager how her top products or
A quick way to empty a folder and all its subfolders?while keeping your directory structure intact ?is to run the DOS command DEL with additional arguments. For example, the DEL
To clone an XML document at runtime, use the StAX XMLEventReader and XMLEventWriter classes like this: //AirWings_order.xml – the original XML in this example//AirWings_order_clone.xml – the clone of AirWings_order.xmlimport javax.xml.stream.*;import
C# seems to fail in an advanced use of polymorphism, as demonstrated by the following code: class AReturn {}class BReturn : AReturn {}class A{ public virtual AReturn GetReturn() {…}}class B{
hile a “process” is the way that operating systems compartmentalize running applications from each other, a “thread” is a path of execution?the basic unit to which an operating system allocates
indowMover is a little project originally created for a study that involved tracking the gaze of subjects when presented with various images. The study used a special eye-tracker device that
ave you ever used a multi-user system and found yourself wondering, “How did this get changed?” or, “Who created this and why?” Helping your users track the system changes and
’ve been doing mobile software development of one sort or another for time out of mind. Some of the first serious programs I wrote were for an HP-41CX calculator for
oftware engineering is all about choices. Choices have to be weighed: performance vs. scalability, complexity vs. flexibility, pros vs. cons, and good vs. poor design. In mobile application development, we
hen choosing the technology and target platform for your mobile project or application, you will find several possibilities. There are several kinds of mobile phone platforms available and most have