Click here to Skip to main content
15,913,758 members
Home / Discussions / Database
   

Database

 
GeneralRe: datetime Comparision Pin
DotNetDominator7-May-06 10:50
DotNetDominator7-May-06 10:50 
GeneralRe: datetime Comparision Pin
Rob Graham7-May-06 11:09
Rob Graham7-May-06 11:09 
GeneralRe: datetime Comparision Pin
DotNetDominator7-May-06 11:24
DotNetDominator7-May-06 11:24 
GeneralRe: datetime Comparision Pin
Rob Graham7-May-06 12:40
Rob Graham7-May-06 12:40 
GeneralRe: datetime Comparision Pin
DotNetDominator7-May-06 15:40
DotNetDominator7-May-06 15:40 
GeneralRe: datetime Comparision Pin
Rob Graham7-May-06 15:56
Rob Graham7-May-06 15:56 
QuestionSQL database batch files Pin
abdelhameed816-May-06 9:43
abdelhameed816-May-06 9:43 
AnswerRe: SQL database batch files Pin
Rob Graham7-May-06 5:36
Rob Graham7-May-06 5:36 
You can use SQL Enterprise Manager to script the database: select the tree node for the database you want to script, right click. Select 'All Tasks' then 'Generate SQL Scripts'
This will callup a dialog which will allow you to select which schema objects you want in the script, and what format you want for the script file (warning: the default is Unicode Text, change it if you want pain text).

To script the data, you must either write your own tool to "export" the data as text (INSERT Statements) or use the bulk copy tool (bcp) to export and import the data.

A simple and faster method of creating a copy of yur database (complete with data) is simply detach the database for the development server, copy the log and data files to the new server, and attach to the new server, specifing new locactions for the files if necessary. (you can include the data and log files in your installer, and run a script to attach them, if need be.)



We need to graduate from the ridiculous notion that greed is some kind of elixir for capitalism - it's the downfall of capitalism. Self-interest, maybe, but self-interest run amok does not serve anyone. The core value of conscious capitalism is enlightened self-interest.
Patricia Aburdene

QuestionDeleting from an SQL database Pin
alee15.10.886-May-06 1:52
alee15.10.886-May-06 1:52 
AnswerRe: Deleting from an SQL database Pin
DotNetDominator7-May-06 2:02
DotNetDominator7-May-06 2:02 
GeneralRe: Deleting from an SQL database Pin
alee15.10.887-May-06 20:12
alee15.10.887-May-06 20:12 
AnswerRe: Deleting from an SQL database Pin
Rob Graham7-May-06 4:06
Rob Graham7-May-06 4:06 
QuestionSQL2005 Express reporting services remote user Pin
juszuf5-May-06 20:37
juszuf5-May-06 20:37 
QuestionUsing ROUND Pin
myNameIsRon5-May-06 19:03
myNameIsRon5-May-06 19:03 
AnswerRe: Using ROUND Pin
Rob Graham7-May-06 5:52
Rob Graham7-May-06 5:52 
GeneralRe: Using ROUND Pin
myNameIsRon7-May-06 11:16
myNameIsRon7-May-06 11:16 
GeneralRe: Using ROUND Pin
Rob Graham7-May-06 12:30
Rob Graham7-May-06 12:30 
GeneralRe: Using ROUND Pin
myNameIsRon7-May-06 19:19
myNameIsRon7-May-06 19:19 
GeneralRe: Using ROUND Pin
Rob Graham8-May-06 8:49
Rob Graham8-May-06 8:49 
GeneralRe: Using ROUND Pin
myNameIsRon8-May-06 12:28
myNameIsRon8-May-06 12:28 
GeneralRe: Using ROUND Pin
Rob Graham8-May-06 16:48
Rob Graham8-May-06 16:48 
GeneralRe: Using ROUND Pin
myNameIsRon8-May-06 21:34
myNameIsRon8-May-06 21:34 
QuestionReporting Service 2005 Pin
devvvy5-May-06 14:38
devvvy5-May-06 14:38 
QuestionExport a table to a CSV file Pin
Alvin Ortiz5-May-06 12:46
Alvin Ortiz5-May-06 12:46 
AnswerRe: Export a table to a CSV file Pin
Rob Graham7-May-06 6:07
Rob Graham7-May-06 6:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.