Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/index.php on line 1

Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/wp-config.php on line 1

Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/wp-settings.php on line 1

Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/wp-includes/functions.php on line 1

Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/wp-includes/wp-db.php on line 1

Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/wp-includes/query.php on line 1

Warning: base64_decode() has been disabled for security reasons in /home/rajarams/public_html/wp-content/themes/atahualpa/functions.php on line 1

Warning: Cannot modify header information - headers already sent by (output started at /home/rajarams/public_html/index.php:1) in /home/rajarams/public_html/wp-includes/feed-rss2.php on line 8
Rajaram Systems http://www.rajaramsystems.com Rural Based Development and Training Centre. Wed, 18 Aug 2010 09:33:25 +0000 http://wordpress.org/?v=2.5.1 en Max Date in SQL Server http://www.rajaramsystems.com/2010/08/18/max-date-in-sql-server/% http://www.rajaramsystems.com/2010/08/18/max-date-in-sql-server/%#comments Wed, 18 Aug 2010 09:33:25 +0000 admin http://www.rajaramsystems.com/?p=84 It is not possible to find the maximum date in a given field by means of a direct function, but the objective can be performed in different way.

let us take this example

 CREATE TABLE [dbo].[date_cal](  [callno] [int] NULL,  [sdate] [datetime] NULL,  [enddate] [datetime] NULL ) ON [PRIMARY]

 Insert some values into it

callno      sdate                   enddate ———– ———————– ———————– 1           2010-08-01 00:00:00.000 2010-08-04 00:00:00.000 2           2010-08-04 00:00:00.000 . . . → Read More: Max Date in SQL Server]]> It is not possible to find the maximum date in a given field by means of a direct function, but the objective can be performed in different way.

let us take this example

 CREATE TABLE [dbo].[date_cal](
 [callno] [int] NULL,
 [sdate] [datetime] NULL,
 [enddate] [datetime] NULL
) ON [PRIMARY]

 Insert some values into it

callno      sdate                   enddate
———– ———————– ———————–
1           2010-08-01 00:00:00.000 2010-08-04 00:00:00.000
2           2010-08-04 00:00:00.000 2010-08-07 00:00:00.000
2           2010-08-07 00:00:00.000 2010-08-10 00:00:00.000
1           2010-08-07 00:00:00.000 2010-08-09 00:00:00.000

 Here based on the maximum date of the enddate column I need to retrieve the value.

For this I am writing the following query

SELECT     TOP 1 *  FROM  date_Cal  where callno = 2 ORDER BY enddate DESC

When this query is executed, we will be getting the following result.

 callno      sdate                   enddate
———– ———————– ———————–
2           2010-08-07 00:00:00.000 2010-08-10 00:00:00.000

When we run the query for callno = 2 the maximum value of thd date column will result as follows

callno      sdate                   enddate
———– ———————– ———————–
2           2010-08-07 00:00:00.000 2010-08-10 00:00:00.000

If there is any other solution, please share me.

 

 

 

 

]]> http://www.rajaramsystems.com/2010/08/18/max-date-in-sql-server/%/feed
SQL Server: Extract Table description, fields and their data types http://www.rajaramsystems.com/2010/08/10/sql-server-extract-table-description-fields-and-their-data-types/% http://www.rajaramsystems.com/2010/08/10/sql-server-extract-table-description-fields-and-their-data-types/%#comments Tue, 10 Aug 2010 06:22:12 +0000 admin http://www.rajaramsystems.com/?p=82 Example 1

SELECT          u.name + ‘.’ + t.name AS [table],              td.value AS [table_desc],                  c.name AS [column], .value AS [column_desc]  FROM            sysobjects t  INNER JOIN  sysusers u      ON          u.uid = t.uid  LEFT OUTER JOIN sys.extended_properties td    . . . → Read More: SQL Server: Extract Table description, fields and their data types]]> Example 1

SELECT          u.name + ‘.’ + t.name AS [table], 
            td
.value AS [table_desc], 
                c
.name AS [column], .value AS [column_desc] 
FROM            sysobjects t 
INNER JOIN  sysusers u 
    ON          u
.uid = t.uid 
LEFT OUTER JOIN sys
.extended_properties td 
    ON          td
.major_id = t.id 
    AND         td
.minor_id = 0 
    AND         td
.name = ‘MS_Description’ 
INNER JOIN  syscolumns c 
    ON          c
.id = t.id 
LEFT OUTER JOIN sys
.extended_properties cd 
    ON          cd
.major_id = c.id 
    AND         cd
.minor_id = c.colid 
    AND         cd
.name = ‘MS_Description’ 
WHERE t
.type = ‘u’ 
ORDER BY    t
.name, c.colorder 

Example 2

                cd

Have this as the base :-

select * from INFORMATION_SCHEMA.TABLES 
select * from INFORMATION_SCHEMA.COLUMNS 

select       TableName = tbl.table_schema + ‘.’ + tbl.table_name,  
   
TableDescription = prop.value, 
   
ColumnName = col.column_name,  
   
ColumnDataType = col.data_type 
FROM information_schema
.tables tbl 
INNER JOIN information_schema
.columns col  
    ON col
.table_name = tbl.table_name 
LEFT JOIN sys
.extended_properties prop  
    ON prop
.major_id = object_id(tbl.table_schema + ‘.’ + tbl.table_name)  
    AND prop
.minor_id = 0 
    AND prop
.name = ‘MS_Description’  
WHERE tbl
.table_type = ‘base table’ 

Example 3

select   TABLE_CATALOG, 
    TABLE_SCHEMA
,        
    TABLE_NAME
, 
    COLUMN_NAME
, 
    DATA_TYPE
, 
    CHARACTER_MAXIMUM_LENGTH 
from  
information_schema
.columns 

 

 

]]> http://www.rajaramsystems.com/2010/08/10/sql-server-extract-table-description-fields-and-their-data-types/%/feed
Uninstall Management studio in SQL Server 2008 http://www.rajaramsystems.com/2010/07/19/uninstall-management-studio-in-sql-server-2008/% http://www.rajaramsystems.com/2010/07/19/uninstall-management-studio-in-sql-server-2008/%#comments Mon, 19 Jul 2010 08:39:37 +0000 admin http://www.rajaramsystems.com/?p=81 When you are planning to remove management studio from existing installation.

First invoke the remove operation using control panel and choose add or remove program.

In the option choose change / remove operation then choose remove functionality and choose the shared components option here choose managment studio and remove . . . → Read More: Uninstall Management studio in SQL Server 2008]]> When you are planning to remove management studio from existing installation.

First invoke the remove operation using control panel and choose add or remove program.

In the option choose change / remove operation then choose remove functionality and choose the shared components option here choose managment studio and remove the functionality

 

]]> http://www.rajaramsystems.com/2010/07/19/uninstall-management-studio-in-sql-server-2008/%/feed
Dotfuscator Community Edition 3.0 http://www.rajaramsystems.com/2010/03/17/dotfuscator-community-edition-30/% http://www.rajaramsystems.com/2010/03/17/dotfuscator-community-edition-30/%#comments Wed, 17 Mar 2010 10:00:27 +0000 admin http://www.rajaramsystems.com/?p=79 I started trying the installation of Visual Studio 2008, I choosed custom option where I saw a option Dotfuscator Community Edition 3.0. I started searching the net.

Your .NET applications are important to your company’s profitability. Therefore, protection of these applications is crucial. To this end, any .NET program where the source code is not bundled with . . . → Read More: Dotfuscator Community Edition 3.0]]> I started trying the installation of Visual Studio 2008, I choosed custom option where I saw a option Dotfuscator Community Edition 3.0. I started searching the net.

Your .NET applications are important to your company’s profitability. Therefore, protection of these applications is crucial. To this end, any .NET program where the source code is not bundled with the application should be protected with Dotfuscator. Ignoring application protection increases the risk to your organization in the form of intellectual property theft, hacking, and piracy.

PreEmptive Solutions’ Dotfuscator is the leading .NET Obfuscator, Compactor and Watermarker that helps protect programs against reverse engineering while making them smaller and more efficient. Dotfuscator Professional Edition is designed to stop even the best of decompilers from producing useful output. It provides comprehensive and efficient .NET code development and deployment.

 

]]> http://www.rajaramsystems.com/2010/03/17/dotfuscator-community-edition-30/%/feed
XAMPP and IIS in Windows XP http://www.rajaramsystems.com/2010/03/16/xampp-and-iis-in-windows-xp/% http://www.rajaramsystems.com/2010/03/16/xampp-and-iis-in-windows-xp/%#comments Tue, 16 Mar 2010 08:50:44 +0000 admin http://www.rajaramsystems.com/?p=78 If you are planning to work both XAMPP and IIS in a same machine.

If IIS is not installed in the machine, first install xampp, then do the process of iis installation.

if IIS is installed, uninstall it and then install xampp.

please make sure to change the port of xampp in C:\xampp\apache\conf\httpd.conf as

Listen 85

IIS will work normally in port 80

xampp . . . → Read More: XAMPP and IIS in Windows XP]]> If you are planning to work both XAMPP and IIS in a same machine.

If IIS is not installed in the machine, first install xampp, then do the process of iis installation.

if IIS is installed, uninstall it and then install xampp.

please make sure to change the port of xampp in C:\xampp\apache\conf\httpd.conf as

Listen 85

IIS will work normally in port 80

xampp will be accessed from port 85

 

 

 

 

]]> http://www.rajaramsystems.com/2010/03/16/xampp-and-iis-in-windows-xp/%/feed
How to Use Bluetooth to Connect a LCD Projector http://www.rajaramsystems.com/2010/03/02/how-to-use-bluetooth-to-connect-a-lcd-projector/% http://www.rajaramsystems.com/2010/03/02/how-to-use-bluetooth-to-connect-a-lcd-projector/%#comments Tue, 02 Mar 2010 13:44:09 +0000 admin http://www.rajaramsystems.com/?p=77 Bluetooth technology provides a secure, wireless connection between computers, mobile devices and peripherals. New models of LCD projectors include built-in or USB accessories for Bluetooth connectivity that enable users to pair with the device and use the projector as an output device. While Bluetooth-enabled computers have drivers for a variety of devices installed, drivers for . . . → Read More: How to Use Bluetooth to Connect a LCD Projector]]> Bluetooth technology provides a secure, wireless connection between computers, mobile devices and peripherals. New models of LCD projectors include built-in or USB accessories for Bluetooth connectivity that enable users to pair with the device and use the projector as an output device. While Bluetooth-enabled computers have drivers for a variety of devices installed, drivers for Bluetooth-enabled projectors and displays may not be included on the list of supported devices. Users can install the LCD projector drivers as a new device during the setup process.

Step 1

Turn the LCD projector on and connect the USB Bluetooth dongle or accessory, if applicable.

  • Step 2

    Launch the Bluetooth setup assistant on the computer. On Windows computers, select “Bluetooth Devices” under the “Hardware and Sound” option in the Control Panel; on Macs, select “Bluetooth” under System Preferences in the dock or under the Apple logo (top menu bar).

  • Step 3

    Select the “Add” option (Windows) or “Set up Bluetooth device” (Mac) to launch a setup assistant.

  • Step 4

    Uncap the lens cap on the projector and click the Bluetooth button on the LCD projector to make the device discoverable.

  • Step 5

    Click the “Next” or “Continue” button on the Bluetooth setup assistant.

  • Step 6

    Select the type of device supported by the computer or select “Other device” if the projector isn’t listed.

  • Step 7

    Insert the CD containing the hardware drivers when prompted and select the file to install the driver.

  • Step 8

    Click the projector from the list of discoverable Bluetooth devices.

  • Step 9

    Type the passkey or code for the projector (according to the manual) and press the “Enter” key.

  • Step 10

    Click the “OK” or “Close” button when the computer confirms the units are connected.

  •  

     

    ]]>
    http://www.rajaramsystems.com/2010/03/02/how-to-use-bluetooth-to-connect-a-lcd-projector/%/feed
    Google - One Filter Multiple email addressess http://www.rajaramsystems.com/2010/01/23/google-one-filter-multiple-email-addressess/% http://www.rajaramsystems.com/2010/01/23/google-one-filter-multiple-email-addressess/%#comments Sat, 23 Jan 2010 03:07:39 +0000 admin http://www.rajaramsystems.com/?p=76 Today I thought of adding multiple email addresses for one filter in Google.

    We can acheive the requirement by two simple usages,

    In from field type the addresses in the following manner.

    1. ram@rajaramsystem.com OR kumar@rajaramsytem.com

    2. {ram@rajaramsystem.com kumar@rajaramsystem.com}

    If there is any options share . . . → Read More: Google - One Filter Multiple email addressess]]> Today I thought of adding multiple email addresses for one filter in Google.

    We can acheive the requirement by two simple usages,

    In from field type the addresses in the following manner.

    1. ram@rajaramsystem.com OR kumar@rajaramsytem.com

    2. {ram@rajaramsystem.com kumar@rajaramsystem.com}

    If there is any options share your ideas.

     

    ]]> http://www.rajaramsystems.com/2010/01/23/google-one-filter-multiple-email-addressess/%/feed
    Integrating Google Map in Word Press http://www.rajaramsystems.com/2009/12/30/integrating-google-map-in-word-press/% http://www.rajaramsystems.com/2009/12/30/integrating-google-map-in-word-press/%#comments Wed, 30 Dec 2009 11:24:51 +0000 admin http://www.rajaramsystems.com/?p=75 . . . → Read More: Integrating Google Map in Word Press]]>

    ]]>
    http://www.rajaramsystems.com/2009/12/30/integrating-google-map-in-word-press/%/feed
    Instant Messaging Using Openfire http://www.rajaramsystems.com/2009/11/28/instant-messaging-using-openfire/% http://www.rajaramsystems.com/2009/11/28/instant-messaging-using-openfire/%#comments Fri, 27 Nov 2009 18:32:10 +0000 admin http://www.rajaramsystems.com/?p=72 Openfire is a instant messaging software - it is rich with lot of features. Openfire is adaptable to different to different user management scenerio.  Openfire uses a embedded database engine named HSQLDB. I want to share some words about HSQLDB.

    HSQLDB (Hyper Structured Query Language Database) is a relational database management system written in Java. HSQLDB is . . . → Read More: Instant Messaging Using Openfire]]> Openfire is a instant messaging software - it is rich with lot of features. Openfire is adaptable to different to different user management scenerio.  Openfire uses a embedded database engine named HSQLDB. I want to share some words about HSQLDB.

    HSQLDB (Hyper Structured Query Language Database) is a relational database management system written in Java. HSQLDB is based on the discontinued Hypersonic SQL Project.[1].

    HSQLDB is available under a BSD license.

    It has a JDBC driver and supports a large subset of SQL-92, SQL-99, and SQL:2003 standards.[2] It offers a fast,[3] small (less than 100 kilobytes in one version, around 600 kilobytes in the standard version) database engine which offers both in-memory and disk-based tables. Embedded and server modes are available.

    Additionally, it includes tools such as a minimal web server, in-memory query and management tools (can be run as applets), and a number of demonstration examples. It can run on Java runtimes from version 1.1 upwards, including free Java runtimes such as Kaffe.

    HSQLDB is currently being used as a database and persistence engine in many open source software projects, such as OpenOffice.org Base and the Standalone Roller Demo,[4] as well as in commercial products, such as Mathematica or InstallAnywhere (starting with version 8.0).

     

    ]]> http://www.rajaramsystems.com/2009/11/28/instant-messaging-using-openfire/%/feed
    Windows WorkFlow Foundation. http://www.rajaramsystems.com/2009/10/13/windows-workflow-foundation/% http://www.rajaramsystems.com/2009/10/13/windows-workflow-foundation/%#comments Tue, 13 Oct 2009 13:27:53 +0000 admin http://www.rajaramsystems.com/?p=69 Work Flow System

    The automation of a business process, in whole or part, during which documents, information or tasks are passed from one participant to another for action, according to a set of procedural rules

    Computer application contains a number of different ‘tasks’, ‘transactions’, ‘programs’ or ‘modules’, each of which performs a particular function. Sometimes the processing of . . . → Read More: Windows WorkFlow Foundation.]]> Work Flow System

    The automation of a business process, in whole or part, during which documents, information or tasks are passed from one participant to another for action, according to a set of procedural rules

    Computer application contains a number of different ‘tasks’, ‘transactions’, ‘programs’ or ‘modules’, each of which performs a particular function. Sometimes the processing of one particular task is supposed to be followed by one or more other tasks in order to complete some higher process. For example, the task ‘Take Customer Order’ may have to be followed by ‘Get the amount from Customer’, ‘Pack Order’ and ‘Ship Order’. This higher process may have a name such as ‘Order Fulfillment’, but as you can see it cannot be handled by a single task and has to be broken down into its component parts.

    Without a workflow system the processing of the component parts has to be handled manually, which is where mistakes can occur. Forgetting to get the amount from the customer or ship the order is not a good way to run a business.

    With a Workflow system it is possible to define ‘Order Fulfillment’ as a workflow process, with ‘Get the amount from the Customer’, ‘Pack Order’ and ‘Ship Order’ as components of that process. When an instance (or ‘case’) of the workflow process is created the workflow engine will then take responsibility for dealing with each component in turn. These components may be executed automatically, or they may be directed to appear in someone’s inbox.

    There can be two basic types of workflow:

    • Activity based - means that the processes, the workflows, are made of activities to be completed in order to get something done.
    • Entity based - means that the focus is set on a given document and the states it has to go through in order to be completed.

    Windows Workflow Foundation (WF) is mainly used in supporting workflow management.

    WF was first released with the .NET Framework 3.0 in 2006, then updated in the .NET Framework 3.5. These first two versions were useful, especially for independent software vendors (ISVs), but they haven’t become mainstream technologies for enterprise developers. With the version of WF that’s part of the .NET Framework 4, its creators aim to change this. A major goal of this latest release is to make WF a standard part of the programming toolkit for all .NET developers.

    Reference for better understanding on the subject

    http://www.tonymarston.net

    http://msdn.microsoft.com/en-us/library/dd851337.aspx

    ]]> http://www.rajaramsystems.com/2009/10/13/windows-workflow-foundation/%/feed