Introduce DataBase,Asp.net,JavaScript,Xml,Html,Css,Sql,Php,ASP.NET Controls,AJAX,Tools,HTML,CSS,JavaScript,Open Source Project,WPF,.Net Framework,Linq
Top Recommended Hosting

Upload and view images to/from an Oracle database using an XML Web Service

by the3factory 5/3/2008 8:11:00 PM
In this article, I am going to describe how to upload and fetch images to/from an Oracle database using an XML web service. There is a certain condition where my web application needs to communicate with a far remote database server. Remote communication is one of the major aspects of web applicatio... [More]

Open Source DataBase Project:System.Data.SQLite

by the3factory 4/13/2008 10:49:00 PM
Download    System.Data.SQLite is an enhanced version of the original SQLite database engine.  It is a complete drop-in replacement for the original sqlite3.dll (you can even rename it to sqlite3.dll).  It has no linker dependency on the .NET runtime so it can be... [More]

SQL server2005 Retrieve Buffer Counts by Object and Index

by the3factory 4/9/2008 11:46:00 PM
  Sample script that breaks down buffers by object (table, index) in the buffer cache. This script, contributed by Microsoft's Tom Davidson, requires SQL Server 2005.   Script Code use Northwind go select b.database_id, db=db_name(b.database_id) ,p.object_id ,object_name(p.object... [More]

Accessing remote SQL server by remoting (TCP)

by the3factory 4/9/2008 6:59:00 AM
Download code Introduction: In this sample describes how to build a distribution application which accesses MS SqlServer2000 on remoting service. Using the code Server using System; using System.Data; using System.Data.SqlClient;   namespace www.treaple.com {  &... [More]

SQL Server 2005 practical examples

by the3factory 3/30/2008 4:28:00 AM
A gain finally insertion record:scope_indentity() declare @dt table ( _id int identity(1,1),   _name char(10) ) insert into @dt (_name) values('scottxu') insert into @dt (_name) values('psg') insert into&... [More]

Uses coalesce and the nullif combination reduces writes sql the work load

by the3factory 3/30/2008 4:09:00 AM
Today helped the friend to adjust a website, turned sp accidentally, saw a section of very long select sentence, the reason that this select sentence was long, was because had several general complex case sentences to follow in select behind.We select a field the logical rule and the data make our t... [More]

DataBase: Audit for DB programming

by the3factory 3/25/2008 6:52:00 AM
Download code   Introduction Given that you are a DBA and need to know how other programmers are modifying the DB tables and stored procedures for the purpose of audit or just curiosity. Though there could be a lot of solutions for IT audit in enterprise level, you may need simpler one. He... [More]

convert Oracle reports to PDF/Excel/Word

by the3factory 3/20/2008 8:57:00 AM
Ever needed to convert an oracle report to pdf/excel/word? Here is a solution Using the code Just simple Code which runs the oracle report and convert that in to a blob and then opens it using desired format Blocks of code should be set as style "Formatted" like this: Collapse using Syst... [More]

SQL Select Top 100 % forgets Order By Clause

by the3factory 3/19/2008 6:52:00 AM
Sometimes, a developer can't trust his eyes, when things changes without warning. They just react in another way and no one knows why. What are we talking about? Using an Order By in a Select Query (in a view, inline function or something similiar) is a beginner level phrase. And it's nothing that... [More]

Primary Keys in SQL Server

by the3factory 3/13/2008 6:33:00 PM
Throughout my travels in the IT industry I have seen many database designs and it never fails to amaze me how many systems simply ignore the fundamentals of good design. I am not talking about poor designs from an academic point of view; these sub-standard designs don’t work because they are a... [More]

get Time from Full Date

by the3factory 3/13/2008 6:15:00 AM
Sql Server does not provide any function to get Time in hh:mm tt format from DateTime field. So you can get time using this function. Using the code First of all you have to create this function in your databse. and then you can get the time from the full datetime value.use the following sql scrip... [More]

Tags:

DataBase | SQL

Monitoring and Recording DDL changes in SQL SERVER 2005

by the3factory 3/12/2008 3:02:00 AM
Download code   Introduction While executing the IT project of any significant size, auditing any structural change during the course of project is important. Project manager handling the team size varying from 5 developer to 50 developer cannot do all the activities. Another challenge is ... [More]

SQL Server Encryption and Symmetric Key Encryption

by the3factory 3/10/2008 10:53:00 PM
SQL Server 2005 provides encryption as a new feature to protect data against the attacks of hackers. Hackers may be able to get hold of the database or tables, but they wouldn't understand the data or be able to use it. It is very important to encrypt crucial security related data when stored in the... [More]

Load a DBF into a DataTable

by the3factory 3/10/2008 10:46:00 PM
Download code   The main focus of this article is to load the contents of a DBF file into a DataTable. Sure, you can search the Internet and find a thousand examples of how to load a DBF in .NET. However, try to find one that does NOT use the MS Jet driver or perhaps the MS FoxPro driver. I... [More]

Query Your iTunes Library

by the3factory 3/7/2008 7:51:00 PM
Download source Introduction I wrote this tiny tool to compensate the limitations of the otherwise perfect iTunes player in reports generation. The program exports your iTunes library data to a Microsoft SQL Server (hence the name – sqlTunes) database which can then be queried using T-SQL.... [More]

Q&A:

More



Powered by BlogEngine.NET 1.2.0.0