Main > Free Download Search >

Free statement software for linux

statement

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 351
SQL::Statement::Embed 1.15

SQL::Statement::Embed 1.15


SQL::Statement::Embed can embed a SQL engine in a DBD or module. more>>
SQL::Statement::Embed can embed a SQL engine in a DBD or module.

SQL::Statement is designed to be easy to embed in other modules and to be especially easy to embed in DBI drivers. It provides a SQL Engine and the other module needs to then provide a data source and a storage mechanism. For example, the DBD::CSV module uses SQL::Statement as an embedded SQL engine by implementing a file-based data source and by using DBI as the user interface. Similarly DBD::Amazon uses SQL::Statement as its SQL engine, provides its own extensions to the supported SQL syntax, and uses on-the-fly searches of Amazon.com as its data source.

SQL::Statement is the basis for eight existing DBDs (DBI database drivers). If you have a new data source, you too can create a DBD without having to reinvent the SQL wheel. Its fun, its easy, become a DBD author today!

SQL::Statement can be also be embedded without DBI. Well explore that first since developing a DBD uses most of the same methods and techniques.

The role of SQL::Statement subclasses

SQL::Statement provides a SQL parsing and execution engine. It does not provide a data source or storage mechanism other than in-memory tables. The DBD::File module is a subclass of SQL::Statement that provides access to file-based storage mechanisms. Its quite possible to use things other than files as data souces, in which case we wouldnt use DBD::File, instead wed replace DBD::Files methods with our own. In the examples below, well use DBD::File, replacing only a few methods.

SQL::Statement provides SQL parsing and evaluation and DBD::File provides file-based storage. The only thing missing is a data source - what we actually want to store and query. As an example suppose we are going to create a subclass called Foo that will provide as a data source a simple file similar to a passwd file - one record per line, fields separated by colons, with only three fields "username, uid, gid".

Consider what needs to happen to perform a SELECT query on our Foo data:

* recieve a SQL string
* parse the SQL string into a request structure
* open the table(s) specified in the request
* define column names and postions for the table
* read rows from the table
* convert the rows from colon-separated format into perl arrays
* match the columns and rows against the requested selection criteria
* return requested rows and columns to the user

To perform operations like INSERT and DELETE, we also need to:

* convert rows from perl arrays into colon-separated format
* write rows
* delete rows

SQL::Statement takes care of all of the SQL parsing and evaluation. DBD::File takes care of file opening, reading, writing, and deleting. So the only things Foo is really responsible for are:

* define column names and postions for the table
* convert rows from colon-separated format into perl arrays
* convert rows from perl arrays into colon-separated format

In SQL::Statement subclasses these responsibilities are assigned to two objects, a ::Statement object is responsible for opening the table, defining the column names and positions, and for creating new ::Table objects. A ::Table object is responsible for reading, converting, writing, and deleting data.

<<less
Download (0.085MB)
Added: 2006-06-13 License: Perl Artistic License Price:
1230 downloads
Regular Statement String 2.5.7

Regular Statement String 2.5.7


Regular Statement String (RSS) provides several libraries in C, Java, and COM. more>>
Regular Statement String (RSS) provides several libraries in C, Java, and COM to implement and demonstrate the key-value development method using well-designed "strings" (RSS) as the media. Regular Statement String also shows a way to write "Process Oriented" applications.
Enhancements:
- This release adds an implementation for SUN Solaris (SPARC).
<<less
Download (0.33MB)
Added: 2007-04-12 License: Freeware Price:
926 downloads
makepp_statements 1.50-cvs-070506

makepp_statements 1.50-cvs-070506


makepp_statements Perl package contains various statements in a makefile. more>>
makepp_statements Perl package contains various statements in a makefile.

and, build_cache, "build_check", define, else, enddef, endef, endif, "export", global, ifdef, "ifeq", "ifmakeperl", ifndef, ifneq, ifnsys, "ifperl", "ifsys", "include", "_include", load_makefile, make, perl, "makesub", no_implicit_load, or, perl, "perl_begin", perl_end, "prebuild", register_scanner, "register_command_parser", "register_input_suffix", repository, "runtime", signature, "sub"

A statement is any line beginning with a word which does not have a : in it. (A colon implies that the line is a rule.) For example, these are statements:

include extra_rules.mk
load_makefile subdir

Makepp has a number of builtin statements which you may occasionally need to use.

Note that wherever you see an underscore, you may also use a dash, because makepp converts dashes to underscores in statement names.

Conditionals

Conditionals are special statements, which control what lines of the Makeppfile are actually seen. The simplest form (where ifxxx stands for any of the conditional statements documented below) is:

ifxxx ...
lines seen if the statement evaluates as true
endif

or:

ifxxx ...
lines seen if the statement evaluates as true
else
lines seen if the statement evaluates as false
endif

There is also the possibility to do complex combinations like this:

ifxxx ...
and ifxxx ...
and ifxxx ...
or ifxxx ...
and ifxxx ...
lines seen if the combined statements evaluate as true
else ifxxx ...
or ifxxx ...
and ifxxx ...
lines seen if the first combination evaluates as false
and these combined statements evaluate as true
else
lines seen if the statements above evaluate as false
endif

As is suggested by the indentation, and has higher precedence than or. In other words an or elects between two groups of and`s. There may be any number of and ifxxx`s, or ifxxx`s and else ifxxx`s.

<<less
Download (0.58MB)
Added: 2007-05-30 License: Perl Artistic License Price:
877 downloads
Storage Inspector 0.5

Storage Inspector 0.5


Storage Inspector is a Firefox extension that makes it easy to view any sqlite database files in the current profile. more>>
Storage Inspector is a Firefox extension that makes it easy to view any sqlite database files in the current profile. This includes the anti-phishing and search engine...

Developer Comments:

There are quite a few polish issues that need to be addressed before this version is ready for the masses. If you notice problems, please view the readme.txt file first and tell me if there are other issues.

You can set the storageinspector.openmode pref to 2 if you want the extension to open in a new tab instead of its own window.

I have primarily tested the extension in Firefox 2b1 but would still like feedback on how it runs in 3a1.

If you dont like something, please post here with a constructive statement telling me what you would like.

<<less
Download (0.040MB)
Added: 2007-07-26 License: GPL (GNU General Public License) Price:
824 downloads
SaltShaker 1.4

SaltShaker 1.4


SaltShaker is a Python script for shaking things in the open source Blender 3d system. more>>
SaltShaker is a Python script for shaking things in the open source Blender 3d system. A lot of information/comments are included for budding Blender Python script writers.
In fact if you have programmed in a few languages before, the key thing to remember with Python is that instead of using curly brackets { } to encapsulate statement blocks it uses the whitespace indenting the code.
Confusing at first (and when you mix tabs with spaces) this soon becomes second nature ie.
def randomiseit(perc):
pr = (Blender.Noise.random()*perc)
# 50% of the time make it negative
if (Blender.Noise.random()<<less
Download (MB)
Added: 2007-01-04 License: GPL (GNU General Public License) Price:
1026 downloads
mysqlstress 0.1 beta

mysqlstress 0.1 beta


mysqlstress is a program to stress a MySQL server. more>>
mysqlstress is small but powerfull program, though. It allows administrator, with a lot of arguments, to stress an mysql server to see if performance is given.
Usage
Usage: mysqlstress [OPTIONS]
-h, --hostname Connect to host. (default: localhost)
-u, --username User to log in. (default: root)
-p, --password Password to log in. (default: none)
-d, --database Database You want to connect. (default: mysql)
-S, --socket Connet to unix socket (default: NULL)
-P, --port Port number to use for connection. (default: 3306)
-n, --number Number of SQL statements per connection (default: 5000)
-s, --statement SQL statement you want to exec during stress test. (default "SELECT * FROM user")
-t, --threads Number of threads You want (default: 5000)
-i, --info Show version of MySQL Server
-c, --close Close MySQL connections (default: no). See README!
-q, --quiet No output, just work (default: no)
-V, --version Output version information and exit.
-H, --help Output this message and exit.
all options are logical, the only one is the -c or --close.
If you really want to stress your mysql dont close mysql connections.
Enhancements:
- first major release
<<less
Download (0.067MB)
Added: 2005-04-11 License: GPL (GNU General Public License) Price:
1656 downloads
ActivePerl (Linux) 5.10

ActivePerl (Linux) 5.10


ActivePerl is the industry-standard Perl distribution, available for Windows, Linux, Mac OS X, Solaris, AIX and HP-UX. Developers worldwide rely on ActivePerls completeness and ease-of-use. more>>

ActivePerl is the industry-standard Perl distribution, available for Windows, Linux, Mac OS X, Solaris, AIX and HP-UX. Developers worldwide rely on ActivePerls completeness and ease-of-use, while corporate users protect their infrastructure and stay competitive with quality-assured ActivePerl business solutions.
Complete and ready-to-install, the free ActivePerl distribution includes core Perl, popular modules, the Perl Package Manager (PPM), and complete documentation. The Windows version provides additional features that have made ActivePerl the worldwide standard for Perl on Windows.
ActiveState also provides business solutions for dynamic languages, including enterprise distributions and OEM licensing, that offer guaranteed stability, expert support, unparalleled quality and cost-efficiency to organizations.

Requirements: x86. libc-2.1.x+ (e.g. Red Hat 6.x+, Debian 2.2+)

Whats new in this version: New switch statement and smart-match operator. Defined-or operator, plus many improvements to regular expressions. Engine is no longer recursive: no more stack overflows.

<<less
Download (18.29MB)
Added: 2009-04-18 License: Freeware Price: $0.00
197 downloads
Expense Submittal System 4.0.2

Expense Submittal System 4.0.2


The Expense Submittal System (ESS) is a Web-based solution for the creation of expense reports. more>>
The Expense Submittal System (ESS) is a Web-based solution for the creation of expense reports, expense report approval, payment, and accounting.
The complete expense reporting process is covered. ESS provides report entry, approval routing, corporate policy checking, credit card statement importation, and report payment.
Expense Submittal System requires an application server, such as Tomcat, and a database, such as MySQL.
Main features:
- Customizable Screens
- Guideline and Policy Enforcement
- Data Entry Tools
- Customer Specified Report Routing
- Database Schema Mapping
- Customer Defined Messages
- Credit Card Statement Import
- Foreign Exchange
- Attendee List Enforcement
- Standard Edits
- Client, Product and Project Accounting
- Receipt Tracking
- E-mail Interface to Contact Users
- Payment and Feed Generation
- Statistical and Rules-based Auditing
- Reconcilement Module
- Online Investigations
- Open Source
- Service and Support
Enhancements:
- This release cleans up a large number of bugs. The change description below is just a summary to give you an idea of the areas we have been working on. If you need further information, please contact us via SourceForge.net. All users are encouraged to upgrade to this release.
<<less
Download (5.4MB)
Added: 2006-12-02 License: GPL (GNU General Public License) Price:
1061 downloads
Devel::Hints 0.11

Devel::Hints 0.11


Devel::Hints is a Perl module created to access compile-time hints at runtime. more>>
Devel::Hints is a Perl module created to access compile-time hints at runtime.

SYNOPSIS

use Devel::Hints :all;

LABEL:
print cop_label(); # LABEL
cop_label(0 => FOO); # "goto FOO;" is valid after this point!
print cop_file(); # same as __FILE__
print cop_filegv(); # same as $::{_< . __FILE__}
print cop_stashpv(); # same as __PACKAGE__
print cop_stash(); # same as %{__PACKAGE__ . ::}
print cop_seq(); # an integer
print cop_arybase(); # same as $[
print cop_line(); # same as __LINE__

use warnings;
print cop_warnings(); # same as compile-time ${^WARNING_BITS}

# cop_io() is only available to Perl 5.7 or above
use open IO => :utf8;
print cop_io(); # same as compile-time ${^OPEN}

{
use IO => :raw;
print cop_io(1); # access one uplevel; still ":utf8 :utf8"
}

This module exports the cop (code operator) struct as individual functions; callers can call them to find out the lexical-scoped hints that its block (or statement) is compiled under.

No functions are exported by default. Each function may take an optional positive integer as argument, indicating how many blocks it should walk upward to obtain the cop members.

Functions can also take another optional argument, which (if specified) becomes the new value for the hint, affecting the current statement or blocks behaviour.

<<less
Download (0.043MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
Jifty::DBI::SchemaGenerator 0.29

Jifty::DBI::SchemaGenerator 0.29


Jifty::DBI::SchemaGenerator is a Perl module to generate table schemas from Jifty::DBI records. more>>
Jifty::DBI::SchemaGenerator is a Perl module to generate table schemas from Jifty::DBI records.

This module turns a Jifty::Record object into an SQL schema for your chosen database. At the moment, your choices are MySQL, SQLite, or PostgreSQL. Oracle might also work right, though its untested.

SYNOPSIS

The Short Answer

See below for where we get the $handle and $model variables.

use Jifty::DBI::SchemaGenerator;
...
my $s_gen = Jifty::DBI::SchemaGenerator->new( $handle );
$s_gen->add_model($model);

my @statements = $s_gen->create_table_sql_statements;
print join("n", @statements, );
...
The Long Version
See Jifty::DBI for details about the first two parts.
MyModel
package MyModel;
# lib/MyModel.pm

use warnings;
use strict;

use base qw(Jifty::DBI::Record);
# your custom code goes here.
1;
MyModel::Schema
package MyModel::Schema;
# lib/MyModel/Schema.pm

use warnings;
use strict;

use Jifty::DBI::Schema;

column foo => type is text;
column bar => type is text;

1;
myscript.pl
#!/usr/bin/env perl
# myscript.pl

use strict;
use warnings;

use Jifty::DBI::SchemaGenerator;

use Jifty::DBI::Handle;
use MyModel;
use MyModel::Schema;

my $handle = Jifty::DBI::Handle->new();
$handle->connect(
driver => SQLite,
database => testdb,
);

my $model = MyModel->new($handle);
my $s_gen = Jifty::DBI::SchemaGenerator->new( $handle );
$s_gen->add_model($model);

# heres the basic point of this module:
my @statements = $s_gen->create_table_sql_statements;
print join("n", @statements, );

# this part is directly from Jifty::Script::Schema::create_all_tables()
$handle->begin_transaction;
for my $statement (@statements) {
my $ret = $handle->simple_query($statement);
$ret or die "error creating a table: " . $ret->error_message;
}
$handle->commit;

<<less
Download (0.097MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1010 downloads
SQL::Generator 0.02

SQL::Generator 0.02


SQL::Generator is a Perl module to generate SQL-statements with oo-perl. more>>
SQL::Generator is a Perl module to generate SQL-statements with oo-perl.

SYNOPSIS

use SQL::Generator;

With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of sprintf`s every time i needed a statement (i.e.for DBI).

Later you start writing your own functions for every statement and every sql-dialect (RDBMS use to have their own dialect extending the general SQL standard). This SQL::Generator module is an approach to have a flexible abstraction above the statement generation, which makes it easy to implement in your perl code. Its main purpose is to directly use perl variables/objects with SQL-like code.

<<less
Download (0.013MB)
Added: 2007-04-05 License: Perl Artistic License Price:
932 downloads
Database Fishing Tool 1.4.3

Database Fishing Tool 1.4.3


Database Fishing Tool is short DaFT is a front-end to any database that can be connected to with an ODBC driver. more>>
Database Fishing Tool is short DaFT is a front-end to any database that can be connected to with an ODBC driver. DaFT allows you to browse the database objects, view data in tables and views, and create and execute SQL statements, also as a script, including variable scanning.
DaFT contains a database objects list (tables and views), list of columns and column properties, a table for data snapshots, detailed data view, a notepad, a table for viewing the outcome of select statements, T-SQL or PL/SQL statements, a SQL statement editor with syntax highlighting, and a screen to follow all ODBC driver messages (errors etc.).
All selected data can be saved into a file. The supported file formats are HTML, XLS, CSV, SyLK, and DIF. The SQL statements can be saved into a text file.
Enhancements:
- Handle Tables, Views, and colums with names (partly) in capitals with surrounding quotes.
- Some bug fixes...
<<less
Download (1.8MB)
Added: 2006-08-08 License: GPL (GNU General Public License) Price:
1331 downloads
Apache::WebSNMP 0.11

Apache::WebSNMP 0.11


Apache::WebSNMP is a Perl module that allows for SNMP calls to be embedded in HTML. more>>
Apache::WebSNMP is a Perl module that allows for SNMP calls to be embedded in HTML.

SYNOPSIS

< html >
< body >
< snmp >
host=zoom.google.org
community=public
connect
interface=ifDescr.2
mac=ifPhysAddress.2
query
< /snmp >

The interface < b >descriptor< /b > for the ethernet card is < snmp > print(interface) < /snmp >
and its mac address is < snmp > print(mac) < /snmp >
< /body >
< /html >

The WebSNMP module allows one to embed SNMP commands directly into HTML code.

REQUIRES

This module requires the perl SNMP module, available at the CPAN site.

USAGE

The module allows for three different kinds of statements, surrounded by < snmp > and < /snmp > html tags. The three types of statements consist of configurations, variable assignments, and commands. A brief description of each type of statement follows:

Configuration:

The configuration statements allow the user the set which host to poll for SNMP information, as well as the SNMP community that the get statements will draw from. This essentially takes the form of assigning values to the reserved variables host and community. All variables are assigned with the following syntax: varible_name=value
Note: there must not be any intervening whitespace between the = and the name and value. Thus to set the SNMP host to machine.domain.net, we would issue the configuration statement:

< snmp >host=machine.domain.net< /snmp >

If not specified, the default host is localhost, and the default community is public.

<<less
Download (0.006MB)
Added: 2007-08-01 License: Perl Artistic License Price:
814 downloads
Test::Differences 0.47

Test::Differences 0.47


Test::Differences Perl module contains test strings and data structures and show differences if not ok. more>>
Test::Differences Perl module contains test strings and data structures and show differences if not ok.

SYNOPSIS

use Test; ## Or use Test::More
use Test::Differences;

eq_or_diff $got, "anbncn", "testing strings";
eq_or_diff @got, [qw( a b c )], "testing arrays";

## Passing options:
eq_or_diff $got, $expected, $name, { context => 300 }; ## options

## Using with DBI-like data structures

use DBI;

... open connection & prepare statement and @expected_... here...

eq_or_diff $sth->fetchall_arrayref, @expected_arrays "testing DBI arrays";
eq_or_diff $sth->fetchall_hashref, @expected_hashes, "testing DBI hashes";

## To force textual or data line numbering (text lines are numbered 1..):
eq_or_diff_text ...;
eq_or_diff_data ...;

<<less
Download (0.008MB)
Added: 2007-07-18 License: Perl Artistic License Price:
828 downloads
GTK Oracle 1.41

GTK Oracle 1.41


GTK Oracle is a GTK+ 2 interface to Oracle that aids in Oracle application development and testing. more>>
GTK Oracle is a GTK+ 2 interface to Oracle that aids in Oracle application development and testing.
Its features include a schema browser, multiple SQL work areas, SQL syntax highlighting, bind variable entry widgets in the command window, and SQL*Plus-style command scripting.
For SQL statement analysis and tuning there is a tree-style SQL statement "explain plan" facility and the ability to load SQL statements from the runtime cursor cache (V$SQL table), Oracle Statspack repository, and the Oracle Automatic Workload Repository in Oracle version 10g. Full statistics are available on loaded statements.
Main features:
- manually running your applications SQL, outside of the application itself
- trying to find out what queries your application is even running
- checking and gathering statistics
- comparing plans
- running statspack to evaluate results
- autotracing
- peeking in AWR
- peeking the shared pool / v$sqlarea / statspack SQL
- identifying high-resource SQL then this might be of some help.
Usage:
- SQL in the text buffer (anything that gets run via the Execute button) is run on its own thread in the background so it will not block the GUI part, and you can cancel it. This execution thread is started when you start up the program, hopefully never exits, and receives commands via a GLib asynchronous queue, so you can safely keep hitting Execute while a command is running, it will just execute them in order.
- If you log in as SYSDBA you will get a combo box just under the main menubar. Changing the value will execute ALTER SESSION SET CURRENT_SCHEMA=somebody; so when you browse it will be as if you were this user. Be aware that any SQL you execute will result in SYS being recorded as the parsing user in the cursor cache, however.
- If you want to access the cursor cache or statspack or AWR you will need to log in with SYSDBA privileges. You might be able to get away with simply having SELECT on SYS.V$SQLAREA and SYS.V$SQLTEXT.
- SYS is excluded from the cursor cache browsing results. Otherwise you end up with a mass of recursive SQL, which you are not going to be able to tune and that is the point here. If youre a masochist and you do want to browse recursives I suppose you can just modify the relevant SQL so that SYS is not exculded and recompile. Have fun.
- AWR features are only available on 10G servers.
- DBMS_OUTPUT works, go to Edit->DBMS OUTPUT Enable
<<less
Download (0.46MB)
Added: 2006-07-11 License: GPL (GNU General Public License) Price:
1201 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5