Astera Data Stack
Version 6
Version 6
  • Welcome to Astera Data Stack Documentation
  • Release Notes
    • Upgrading from Astera 5.1 to 6.0
  • Getting Started
    • Introduction to Astera 6 Webinar Video
  • Dataflows
    • Introducing Dataflows
    • Dataflow Examples
    • Parameterizing Dataflows
    • Sources
      • Setting Up Sources
      • ADO.Net Metadata Collections Source
      • COBOL File Source
      • Data Model Source
      • Database Table Source
      • Delimited File Source
      • Excel File Source
      • File System Entries Source
      • Fixed Length File Source
      • SQL Query Source
      • XML/JSON File Source
    • Transformations
      • Introducing Transformations
      • Aggregate Transformation
      • Apply To All Transformation
      • Constant Value Transformation
      • Data Quality Rules Transformation
      • Denormalize Transformation
      • Distinct Transformation
      • Expression Transformation
      • Filter Transformation
      • Join Transformation
      • Merge Transformation
      • Normalize Transformation
      • Passthru Transformation
      • REST Client
      • Route Transformation
      • Sequence Generator
      • Sort Transformation
      • Subflow Transformation
      • Tree Join Transformation
      • Union Transformation
      • Web Service Transformation
    • Destinations
      • Setting Up Destinations
      • Database Table Destination
      • Delimited File Destination
      • Excel File Destination
      • Fixed Length File Destination
      • SQL Statement Destination
      • XML File Destination
    • Maps
      • Linking and Mapping Objects
      • Creating Constant Value Maps
      • Creating Database Lookup Maps
      • Creating Direct Maps
      • Creating Expression Maps
      • Creating Function Maps
      • Creating List Lookup Maps
      • Creating SQL Statement Lookup Maps
    • Data Logging and Profiling
      • Creating Data Profiles
      • Creating Field Profiles
      • Using Data Quality Mode
      • Using Data Quality Rules
      • Using Record Level Log
    • Database Write Strategies
      • Database Write Strategies
  • Workflows
    • Adding Workflow Tasks
    • Creating Workflows
    • Customizing Workflows With Parameters
    • Using Workflow Designer
  • Subflows
    • Using Subflows in Astera
  • Report Model
    • Report Model Tutorial
    • Applying an Existing Model to a New Report
    • Using Report Models to Extract Business Information from Printed Documents
  • Functions
    • Introducing Function Transformations
    • Functions Glossary
    • Custom Functions
    • Logical
      • Coalesce (Any value1, Any value2)
      • IsNotNull (AnyValue)
      • IsRealNumber (AnyValue)
      • IsValidSqlDate (Date)
      • IsDate (AnyValue)
      • If (Boolean)
      • If (DateTime)
      • If (Double)
      • Exists
      • If (Int64)
      • If (String)
      • IsDate (str, strformat)
      • IsInteger (AnyValue)
      • IsNullOrWhitespace (StringValue)
      • IsNullorEmpty (StringValue)
      • IsNull (AnyValue)
      • IsNumeric (AnyValue)
    • Conversion
      • GetDateComponents (DateWithOffset)
      • ParseDate (Formats, Str)
      • GetDateComponents (Date)
      • HexToInteger (Any Value)
      • ToInteger (Any value)
      • ToDecimal (Any value)
      • ToReal (Any value)
      • ToDate (String dateStr)
      • TryParseDate (String, UnknownDate)
      • ToString (Any value)
      • ToString (DateValue)
      • ToString (Any data, String format)
    • Math
      • Abs (Double)
      • Abs (Decimal)
      • Ceiling (Real)
      • Ceiling(Decimal)
      • Floor (Decimal)
      • Floor (Real)
      • Max (Decimal)
      • Max (Date)
      • Min (Decimal)
      • Min (Date)
      • Max (Real)
      • Max (Integer)
      • Min (Real)
      • Pow (BaseExponent)
      • Min (Integer)
      • RandomReal (Int)
      • Round (Real)
      • Round (Real Integer)
      • Round (Decimal Integer)
      • Round (Decimal)
    • Financial
      • DDB
      • FV
      • IPmt
      • IPmt (FV)
      • Pmt
      • Pmt (FV)
      • PPmt
      • PPmt (FV)
      • PV (FV)
      • Rate
      • Rate (FV)
      • SLN
      • SYD
    • String
      • Center (String)
      • Chr (IntAscii)
      • Asc (String)
      • AddCDATAEnvelope
      • Concatenate (String)
      • ContainsAnyChar (String)
      • Contains (String)
      • Compact (String)
      • Find (Int64)
      • EndsWith (String)
      • FindIntStart (Int32)
      • Extract (String)
      • GetFindCount (Int64)
      • FindLast (Int64)
      • GetDigits (String)
      • GetLineFeed
      • Insert (String)
      • IsAlpha
      • GetToken
      • IndexOf
      • IsBlank
      • IsLower
      • IsUpper
      • IsSubstringOf
      • Length (String)
      • LeftOf (String)
      • Left (String)
      • IsValidName
      • Mid (String)
      • PadLeft
      • Mid (String Chars)
      • LSplit (String)
      • PadRight
      • ReplaceAllSpecialCharsWithSpace
      • RemoveChars (String str, StringCharsToRemove)
      • ReplaceLast
      • RightAlign
      • Reverse
      • Right (String)
      • RSplit (String)
      • SplitStringMultipleRecords
      • SplitStringMultipleRecords (2 Separators)
      • SplitString (3 separators)
      • SplitString
      • SplitStringMultipleRecords (3 Separators)
      • Trim
      • SubString (NoOfChars)
      • StripHtml
      • Trim (Start)
      • TrimExtraMiddleSpace
      • TrimEnd
      • PascalCaseWithSpace (String str)
      • Trim (String str)
      • ToLower(String str)
      • ToProper(String str)
      • ToUpper (String str)
      • Substring (String str, Integer startAt)
      • StartsWith (String str, String value)
      • RemoveAt (String str, Integer startAt, Integer noofChars)
      • Proper (String str)
      • Repeat (String str, Integer count)
      • ReplaceAll (String str, String lookFor, String replaceWith)
      • ReplaceFirst (String str, String lookFor, String replaceWith)
      • RightOf (String str, String lookFor)
      • RemoveChars (String str, String charsToRemove)
      • SplitString (String str, String separator1, String separator2)
    • Date Time
      • AddMinutes (DateTime)
      • AddDays (DateTimeOffset)
      • AddDays (DateTime)
      • AddHours (DateTime)
      • AddSeconds (DateTime)
      • AddMonths (DateTime)
      • AddMonths (DateTimeOffset)
      • AddMinutes (DateTimeOffset)
      • AddSeconds (DateTimeOffset)
      • AddYears (DateTimeOffset)
      • AddYears (DateTime)
      • Age (DateTime)
      • Age (DateTimeOffset)
      • CharToSeconds (Str)
      • DateDifferenceDays (DateTimeOffset)
      • DateDifferenceDays (DateTime)
      • DateDifferenceHours (DateTimeOffset)
      • DateDifferenceHours (DateTime)
      • DateDifferenceMonths (DateTimeOffset)
      • DateDifferenceMonths (DateTime)
      • DatePart (DateTimeOffset)
      • DatePart (DateTime)
      • DateDifferenceYears (DateTimeOffset)
      • DateDifferenceYears (DateTime)
      • Month (DateTime)
      • Month (DateTimeOffset)
      • Now
      • Quarter (DateTime)
      • Quarter (DateTimeOffset)
      • Second (DateTime)
      • Second (DateTimeOffset)
      • SecondsToChar (String)
      • TimeToInteger (DateTime)
      • TimeToInteger (DateTimeOffset)
      • ToDate Date (DateTime)
      • ToDate DateTime (DateTime)
      • ToDateString (DateTime)
      • ToDateTimeOffset-Date (DateTimeOffset)
      • ToDate DateTime (DateTimeOffset)
      • ToDateString (DateTimeOffset)
      • Today
      • ToLocal (DateTime)
      • ToJulianDate (DateTime)
      • ToJulianDayNumber (DateTime)
      • ToTicks (Date dateTime)
      • ToTicks (DateTimeWithOffset dateTime)
      • ToUnixEpoc (Date dateTime)
      • ToUtc (Date dateTime)
      • UnixTimeStampToDateTime (Real unixTimeStamp)
      • UtcNow ()
      • Week (Date dateTime)
      • Week (DateTimeWithOffset dateTime)
      • Year (Date dateTime)
      • Year (DateTimeWithOffset dateTime)
      • DateToJulian (Date dateTime, Integer length)
      • DateTimeOffsetUtcNow ()
      • DateTimeOffsetNow ()
      • Day (DateTimeWithOffset dateTime)
      • Day (Date dateTime)
      • DayOfWeekStr (DateTimeWithOffset dateTime)
      • DayOfWeek (DateTimeWithOffset dateTime)
      • DayOfWeek (Date dateTime)
      • DateToJulian (DateTimeWithOffset dateTime, Integer length)
      • DayOfWeekStr (Date dateTime)
      • FromJulianDate (Real julianDate)
      • DayOfYear (Date dateTime)
      • DaysInMonth(Integer year, Integer month)
      • DayOfYear (DateTimeWithOffset dateTime)
      • FromUnixEpoc
      • FromJulianDayNumber (Integer julianDayNumber)
      • FromTicksUtc(Integer ticks)
      • FromTicksLocal(Integer ticks)
      • Hour (Date dateTime)
      • Hour (DateTimeWithOffset dateTime)
      • Minute (Date dateTime)
      • JulianToDate (String julianDate)
      • Minute (DateTimeWithOffset dateTime)
      • DateToIntegerYYYYMMDD (DateTimeWithOffset dateTime)
      • DateToIntegerYYYYMMDD (Date dateTime)
    • Files
      • AppendTextToFile (String filePath, String text)
      • CopyFile (String sourceFilePath, String destFilePath, Boolean overWrite)
      • CreateDateTime (String filePath)
      • DeleteFile (String filePath)
      • DirectoryExists (String filePath)
      • FileExists (String filePath)
      • FileLength (String filePath)
      • FileLineCount (String filePath)
      • GetDirectory (String filePath)
      • GetEDIFileMetaData (String filePath)
      • GetExcelWorksheets (String excelFilePath)
      • GetFileExtension (String filePath)
      • GetFileInfo (String filePath)
      • GetFileName (String filePath)
      • GetFileNameWithoutExtension (String filePath)
      • LastUpdateDateTime (String filePath)
      • MoveFile (String filePath, String newDirectory)
      • ReadFileBytes (String filePath)
      • ReadFileFirstLine (String filePath)
      • ReadFileText (String filePath)
      • ReadFileText (String filePath, String codePage)
      • WriteBytesToFile (String filePath, ByteArray bytes)
      • WriteTextToFile (String filePath, String text)
    • Date Time With Offset
      • ToDateTimeOffsetFromDateTime (dateTime String)
      • ToUtc (DateTimeWithOffset)
      • ToDateTimeOffsetFromDateTime
      • ToDateTimeOffset (String dateTimeOffsetStr)
      • ToDateTimeFromDateTimeOffset
    • GUID
      • NewGuid
    • Encoding
      • ToBytes
      • FromBytes
      • UrlEncode
      • UrlDecode
    • Regular Expressions
      • ReplaceRegEx
      • ReplaceRegEx (Integer StartAt)
    • TimeSpan
      • Minutes
      • Hours
      • Days
      • Milliseconds
    • Matching
      • Soundex
      • DoubleMetaphone
      • RefinedSoundex
  • Integration Server
    • Job Scheduling
      • Scheduling and Running Jobs on a Server
  • Miscellaneous
    • Astera API User Guide
    • Astera Best Practices Dataflows
    • Astera Options
    • Astera Webinar Series
    • MySQL date/time conversion error
    • Report Model Monthly Online Training
    • Server Command Line Utility
    • Shared Actions
    • Shared Connections
    • Working with Data Formats
    • Using the Data Source Browser
    • Using the Query Editor
Powered by GitBook

© Copyright 2025, Astera Software

On this page
  • Using Data Source Browser
  • Using Data Source Browser with Transfers
  • Using Data Source Browser with Queries
  • Using Data Source Browser with Tables
  • Understanding Data Connection Dialog Box
  • Connecting to Single Database
  • Connecting to Multiple Databases
  • Disconnecting from a Database
  • Changing All Database Connections
  1. Miscellaneous

Using the Data Source Browser

PreviousWorking with Data FormatsNextUsing the Query Editor

Last updated 9 months ago

Astera Data Integrator integrates multiple databases into a single user interface. With this application, you can interact with various types of databases simultaneously. The application is designed to make it easy for you to configure and access your data.

This section includes:

  • Overview of the Data Source Browser - enables you to launch the Data Source Browser and helps you get familiarized with it.

  • Connecting to Single Database - provides step-by-step instructions on how to connect to a single database.

  • Connecting to Multiple Databases - helps you work with multiple databases.

  • Disconnecting from a Database - provides information on how to disconnect from a database.

Using Data Source Browser

The Data Source Browser helps you connect to and query data on a database server. You can click the Add Database Server button to disconnect from the selected database server.

The Data Source Browser is also used while working with queries.

Steps:

  1. Click View > Data Source Browser or press Ctrl + Alt + D. The Data Source Browser is displayed.

Using Data Source Browser with Transfers

The Data Source Browser can be used to import data from a Microsoft Excel Worksheet, a delimited file or a fixed length file, into the connected database server in the form of a table. You can right-click the (+) in front of the connected database server to view the available options.

Steps:

  1. Right-click (+) in front of the connected database server. The shortcut menu is displayed.

  2. Click Import From Excel Worksheet. A new transfer starts with the MS Excel file selected as the source and a database table as the destination.

  3. Click the Refresh button to refresh the database server.

  4. Expand the database server tree by clicking (+).

  5. The new database table is displayed in the list of tables.

You can follow the same steps to import data from a Delimited file or a Fixed length file.

Using Data Source Browser with Queries

The Data Source Browser can also be used to start a query. The connected database servers are displayed in the database browser window. You can right-click the (+) in front of the connected database server to view the available options.

Steps:

  1. Right-click (+) in front of the connected database server. The shortcut menu is displayed.

  2. Click New Query. A new query starts with a database connection already established.

Using Data Source Browser with Tables

The Data Source Browser provides a number of options for working with the tables displayed in the connected database server. You can right-click (+) in front of the table to view the available options.

Option

Helps to

Action

Display Table Records

Display all the fields and records in the selected table.

Right-click (+) in front of the table and select Display Table Records

Display Table Schema

Displays the schema of the table, i.e. the structure and all the contents of the elements of the table

Right-click (+) in front of the table and select Display Table Schema

Copy/Export

Transfer the contents of a selected table to a Delimited file/Microsoft Excel Worksheet/Database Table. It launches the transfer wizard when any one of the three options is chosen.

Right-click (+) in front of the table and select Copy/Export>Export Table Contents to Delimited File/Excel Worksheet/ Database table

Add Snippet For

Add a SQL code snippet into the active query window to insert, update, or delete a record from the selected table

Right-click (+) in front of the table and select Add Snippet For>Insert/Update/Delete

Script Table as

Create

Add a SQL code snippet to the clipboard/new window/active query window/file to create a new table based on the schema of the selected table.

Right-click (+) in front of the table and select Script Table as>Create>To Clipboard/To New Window/To Current Window/To File

Drop

Add a SQL code snippet to the clipboard/new window/active query window/file to drop the selected table.

Right-click (+) in front of the table and select Script Table as>Drop>To Clipboard/To New Window/To Current Window/To File

Select

Add a SQL code snippet to the clipboard/new window/active query window/file to select the schema of the selected table.

Right-click (+) in front of the table and select Script Table as>Select>To Clipboard/To New Window/To Current Window/To File

Insert

Add a SQL code snippet to the clipboard/new window/active query window/file to insert values in the selected table.

Right-click (+) in front of the table and select Script Table as>Insert>To Clipboard/To New Window/To Current Window/To File

Update

Add a SQL code snippet to the clipboard/new window/active query window/file to update the values in the selected table.

Right-click (+) in front of the table and select Script Table as>Update>To Clipboard/To New Window/To Current Window/To File

Delete

Add a SQL code snippet to the clipboard/new window/active query window/file to delete values from the selected table.

Right-click (+) in front of the table and select Script Table as>Delete>To Clipboard/To New Window/To Current Window/To File

Truncate Table

Delete all the fields and records from the selected table

Right-click (+) in front of the table and select Truncate Table

Drop Table

Delete the selected table

Right-click (+) in front of the table and select Drop Table

Refresh

Refresh the fields and records in the selected table

Right-click (+) in front of the table and select Refresh

Understanding Data Connection Dialog Box

The New Connection Dialog box is a tool used to establish connection to a database server, while working with transfers, batches and queries.

The following table describes the options available in the New Connection Dialog Box.

Option

Description

Recently Used list

It a list of connections that the user has defined recently. This helps to save the user from retyping the information over and over again. The list would be blank when the connection is being setup for the first time.

Data Provider list

It is a list of supported database types. The choices are: SQL Server, Oracle, DB2, Microsoft Access, Sybase, MySQL, as well as the Salesforce service which Astera treats as a database type.

Use Windows Authentication check box

It is an option to ’log in’ to the database using your windows credentials rather than supply a user name and password.

Advanced Connection Info button

This button launches the Advanced Connection Info dialog box. This is where a user can specify database specific settings such as connection timeout and command timeout.

User Id box

This is the box provided to enter your assigned unique identification information.

Password box

The password assigned to the user is entered in this box.

Server Name box

It is the name of the computer that is running the database management system.

Database list

The database selected is the one that the user wishes to use when he/she connects to the database management system. This list is retrieved when enough connection information is provided so that Astera Data Integrator can ask the database management system for this list.

Port box

This box displays the port number that the program should use on the remote machine to communicate with it. The defaults provided are the ones that are typically used by each database management system.

Test Connection button

This button displays the Connection Test Results window, which provides information about whether the connection was successful.

Connecting to Single Database

This section helps you understand how to connect to a database server.

Steps:

  1. In the Recently Used box, enter the path of the database management system. Ensure that the Specify Database Information box is checked.

  2. In the Data Provider box, click the drop-down arrow and select the type of database.

Note: You can use the Advanced Connection Info box to specify the database specific settings. There are a number of connection attributes that are specific to databases. For instance, in some drivers you can specify Connection Poolsize attribute as well as Command Timeout, Connection Timeout and so on. The actual attributes depend on the database and the driver being used.

  1. In the User Id box, enter your assigned unique identification information.

  2. In the Password box, enter your assigned password.

Note: Check Use Windows Authentication box if you do not want to provide your User Id and Password. In this case the connection will be authenticated using the credentials provided by Windows.

  1. In the Server Name box, enter the full name of the computer that is running the Database Server.

  2. In the Database box, enter the name of the database you want to use when you connect to the Database Server.

  3. In the Port box, enter the port number that the program uses on the remote machine to communicate with it. The defaults provided for each database type are the ones that are typically used by each Database Server.

  4. Click Test Connection. The Connection Test Results window appears.

If the connection was opened successfully, ’TEST COMPLETED SUCCESSFULLY’ will be displayed.

  1. Click OK to close the Connection Test Results window.

  2. Click OK to close the New Connection Information dialog box.

You have successfully connected to a single database.

Connecting to Multiple Databases

Astera Data Integrator gives you the option to work with more than one database at the same time. The steps for connecting to multiple databases are the same as those for Connecting to Single Database. While connecting to multiple databases, you can connect to the existing Data Provider or establish a new connection with a different Data Provider.

The navigation bar displays all the active database connections. You can switch between databases by clicking on the Server name in the navigation bar. The active database appears highlighted in the navigation bar.

Disconnecting from a Database

This section describes the process of disconnecting from a database.

Steps:

  1. In the navigation bar, select the database Server from which you want to disconnect.

You have successfully disconnected from the database.

Changing All Database Connections

Astera Data Integrator comes with a handy feature which allows you to quickly change required database connections throughout your transfer setting, using a single UI interface.

This may be useful if you are migrating your transfer setting into a different environment, such as from Beta to Production, in which case all of your database connections would need to be changed.

Using the Change All Database Connections screen, you can replace current database connections specified in the transfer setting with the ones that are appropriate for your target environment.

Examples of database connections that you can change include source connections, destination connections, data model connections, SQL statement map connections, database lookup map connections and others.

Note: When changing database connections, you can only change the connection within the same database provider. For instance, you cannot change a connection from SQL Server to Oracle. However, you can change the connection from SQL Server 2005 to SQL Server 2008.

Click the Add Database Engine button The New Connection Information dialog box is displayed.

The database tables are displayed in the work area and the Server name is displayed in the navigation bar. You can refresh the displayed list by clicking the Refresh button .

Click the Disconnect Selected Database button . All information related to the database disappears from the Data Source Browser.

Change All Database Connections icon is available in the main toolbar. It is also available in Server Administration under Scheduler, on the Change All Database Connections tab.