"What if? Why not? Challenge the Convention! Let's do some incredible things!" More Quotes
Home
About/Contact
Twitter
Aspire/J2EE
Github
Pro Android 4
Our Android Books
Lookup Meaning
look up
more ..
Stuff I used to do
java.net Blog
At O'Reilly
Articles
Humanities
Humanities Current
Humanities 2007
Telugu related
Shells
Books
Music
Letters
Recipes
Jax Restaurants
Java
J2SE/J2EE/JSP
Portlets
Research
OSCON 2004
Download OSCON 2004 Presentation
OSCON 2003
Magazines
Dotnet
FTP
Industries
Supply Chain
Health
6-Aug-13
Persistence is a corner stone of all computer applications. The approach to persistence in an application **should** carry lot more weight than the frameworks that are normally used to display or manipulate that data.
Persistence and Databases takes a new precedence with web where a variety of databases can all of a sudden open up new alleys to programability over the web.
This trend is evident in a number of multi-tenanted cloud based systems such as Salesforce or Microsoft Dynamics or Parse.
As a web developer these database are important to me because I salivate what can be done with each the strengths that each database bring to the table to push the programmable web by end users.
The goal is no longer where one database rules it all. Bring the diversity and exploit each for their strengths through the cloud.
13-Oct-03
27-Aug-16
Basic DB2 Syntax: SQL, Stored Procedures etc.
9-May-12
Can I create a unique index on a column that allows nulls?
26-Nov-04
http://www.ianywhere.com/developer/product_manuals/sqlanywhere/0901/en/html/dbugen9/00000332.htm
Common table expressions are temporary views that are known only within the scope of a single SELECT statement. They permit you to write queries more easily, and to write queries that could not otherwise be expressed.
Common table expressions are useful or may be necessary if a query involves multiple aggregate functions or defines a view within a stored procedure that references program variables. Common table expressions also provide a convenient means to temporarily store sets of values.
Recursive common table expressions permit you to query tables that represent hierarchical information, such as reporting relationships within a company. They can also be used to solve parts explosion problems and least distance problems.
3-Jan-20
composite keys
5-Jan-20
Database questions
28-Feb-20
Guidelines for data modelling
10-Jan-12
Here is what sql manager does to alter the identify of a column
12-May-12
How can i backup and restore a SQL server database?
11-Jun-03
9-Jan-12
How can I generate SQL script to regenerate/document tables in sql server?
28-May-14
How do I define a column to be a primary key in tsql?
15-Aug-16
How do I pass an exit code from sqlcmd to the batch file that is calling it? It turned out this is not a simple issue. The research will take you into understanding the sqlcmd.exe. Understanding transact-sql. Knowing how the options provided by sqlcmd.exe are confusing and unspecific. See how one TINY opening is left with raiserror function and you have to pretty much go for the precise bulls eye and a very specific parameters supplied to the raiserror to make this work.
25-Jul-20
How do I schedule a backup database program on windows servers? I have SQL Server 2008 Express on my azure server. It doesn't have any tasking or scheduling tools as it is an express version. Recommendation is to write a SQL server script and invoke it through sqlcmd.exe. Then have a windows scheduler schedule it at regular intervals. By the end of this research I will know how to schedule full backups and also differential backups using command line tools.
22-Apr-06
Search Google for this
select st.statement as masterPageTemplate \ from reports r, sql_statements st \ where 1=1 \ and r.report_content_id = st.statement_id \ and r.report_short_name = 'print_master_page' \ and r.owner_user_id = {ownerUserId.quote} \ and {ownerUserId.quote} in ( \ select owner_user_id from reports r2 \ where r2.report_id = {reportId} )
or better yet, the following
select st.statement as masterPageTemplate \ from reports r, sql_statements st \ where 1=1 \ and r.report_content_id = st.statement_id \ and r.report_short_name = 'print_master_page' \ and r.owner_user_id = (select owner_user_id from reports r2 \ where r2.report_id = {reportId} )
12-Aug-04
select top 10 * from tabl1
select * from sysibm.syscolumns fetch first 10 rows only
16-Nov-12
in clause in stored procedures
31-Aug-20
jdbc drivers and specs for SQL Server
22-Mar-04
http://www.w3schools.com/sql/default.asp
http://www.oreilly.com/catalog/mastorasql/toc.html
The draw back is that it is dedicated to Oracle. Hopefully one can extrapolate it for other databases.
18-Nov-06
Notes Questions Links Resources
20-Nov-03
13-Jun-03
31-Aug-16
Open sourced web based database client software
30-May-17
Please declare all your strings as nvarchar in SQL Server, including stored procedure params
27-Apr-17
Preparing SQLServer for UTF-16
26-Sep-03
21-May-14
Sample code snippet for a SqlServer View
Sample code: A few sample stored procs
25-May-20
sample sql code
6-Feb-20
This proc demonstrates
1. left Outer joins in SQLServer 2. left join by default is a left outer join 3. You can use a sub-select as a column value 4. You can use top 1 to picke the top row for case 3 5. You can use a function to get the value for a column 6. For 4 and 5, you can use the values of other columns as inputs 7. Use of inner selects for outer joining multiple tables 8. Demonstrates how to pass input arguments and use them
5-Apr-13
This is a quick research article on what are NoSQL databases and largely when to (and less when not to) use them. These are becoming the staple databases cloud based multi-tenanted systems. This will identify what these databases are and who is using them and what are their core concepts.
30-Aug-20
SQL Examples XRef
24-Mar-20
sql quick journal
27-Aug-20
SQL Server 2019 installation
SQL Server and SSDs: The nasty dependency
sql server in clause and null set
19-Jun-17
SQLServer user permissions to execute Stored procedures
22-Mar-20
SSMS: Sql Server Management Studio notes
t-sql code for altering/creatign indexes
5-May-10
Understanding star schemas
What are key SQL Server Resources?
24-Apr-14
What does dbo stand for in sql server?
1-May-12
What is SQL Server Browser service?
Page Menu
Print
Sort by Date
Sort by Name
Titles
> Summaries
Global Menu
My Web Logs
My Library
My Home
Other libraries
Author Content
data format