<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/onlinemanual/100003" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To create database definitions</Title>
		<Keyword ContextSensitive="No"><Level1>Database</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default"><GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> must have at least one physical database to store the data which is used by the application software. The table ttaad410 is used to create a database in <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef>. A database is identified in <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> by a database code. The details of the database definitions per database code are specified in the <GUIRef href="/baanerp/tt/aad/ttaad4510m000" role="session">Database Definitions (ttaad4510m000)</GUIRef> session.</Paragraph>
		<List><ListIntro>You can define items such as:</ListIntro>
			<ListItem>Whether the physical database is located on a remote or local system</ListItem>
			<ListItem>The database type of the physical database</ListItem>
		</List>
		<Paragraph class="Default">Use the <Link href="/baanerp/tt/aad/ttaad4111m000" role="session">Tables by Database (ttaad4111m000)</Link> session to assign <Link href="/baanerp/tt/glossary/glossary#table.tt" role="glossary">tables</Link> to <Link href="/baanerp/tt/glossary/glossary#000000000000019" role="glossary">databases</Link>. Create the table definition, $BSE/lib/tabledef6.X , by using the <GUIRef href="/baanerp/tt/aad/ttaad4113s000" role="session">Create Runtime Database Definitions (Tabledef) (ttaad4113s000)</GUIRef> session.</Paragraph>
		<Paragraph class="Default">You can define a database copy for database mirroring by using the <GUIRef href="/baanerp/tt/aad/ttaad4112s000" role="session">Database Definitions (Copies/Alternatives) (ttaad4112s000)</GUIRef> session. An alternative database is useful if, for whatever reason, a database fails. The tasks of that database are then taken over by the alternative database. Note that there is no consistency check on the database in the latter situation.</Paragraph>
	</GeneralSection>
</ManualTopic>
