Click here to Skip to main content
15,919,749 members
Home / Discussions / Database
   

Database

 
Generalupdating database Pin
RomanD17-May-04 16:00
RomanD17-May-04 16:00 
GeneralRe: updating database Pin
Aryadip19-May-04 1:49
Aryadip19-May-04 1:49 
GeneralRe: updating database Pin
Anonymous19-May-04 5:45
Anonymous19-May-04 5:45 
QuestionHow to build a DataBase of data types (int, char, struct, …)? Pin
Michigan185417-May-04 3:44
Michigan185417-May-04 3:44 
AnswerRe: How to build a DataBase of data types (int, char, struct, …)? Pin
ekolis25-May-04 9:10
ekolis25-May-04 9:10 
GeneralRe: How to build a DataBase of data types (int, char, struct, …)? Pin
Michigan185426-May-04 20:14
Michigan185426-May-04 20:14 
GeneralShrink Database Pin
mhmoud rawas16-May-04 22:52
mhmoud rawas16-May-04 22:52 
GeneralRe: Shrink Database Pin
mtone18-May-04 7:25
mtone18-May-04 7:25 
Did youi read the Sql Server Books online. Open it and index on DBCC Shrinkdatabase

Got this samll bit, you should read more about it to get a full understanding


For log files, SQL Server uses target_percent to calculate the target size for the entire log; therefore, target_percent is the amount of free space in the log after the shrink operation. Target size for the entire log is then translated to target size for each log file. DBCC SHRINKDATABASE attempts to shrink each physical log file to its target size immediately. If no part of the logical log resides in the virtual logs beyond the log file's target size, the file is successfully truncated and DBCC SHRINKDATABASE completes with no messages. However, if part of the logical log resides in the virtual logs beyond the target size, SQL Server frees as much space as possible and then issues an informational message. The message tells you what actions you need to perform to move the logical log out of the virtual logs at the end of the file. After you perform the actions, you can then reissue the DBCC SHRINKDATABASE command to free the remaining space. For more information about shrinking transaction logs, see Shrinking the Transaction Log.

Because a log file can only be shrunk to a virtual log file boundary, it may not be possible to shrink a log file to a size smaller than the size of a virtual log file, even if it is not being used. For example, a database with a log file of 1 GB can have the log file shrunk to only 128 MB. For more information about truncation, see Truncating the Transaction Log. For more information about determining virtual log file sizes, see Virtual Log Files.
Generalhelp Pin
romadoma14-May-04 12:04
romadoma14-May-04 12:04 
GeneralRe: help Pin
Mazdak14-May-04 21:07
Mazdak14-May-04 21:07 
GeneralHelp with SQL statement Pin
xfitr214-May-04 7:04
xfitr214-May-04 7:04 
GeneralRe: Help with SQL statement Pin
Mike Ellison18-May-04 6:28
Mike Ellison18-May-04 6:28 
GeneralHelp...Datagrid and Ado question Pin
gen2314-May-04 0:17
gen2314-May-04 0:17 
QuestionHow to run a CS program at client without SQL Server! Pin
tuliplanetrain13-May-04 22:50
tuliplanetrain13-May-04 22:50 
AnswerRe: How to run a CS program at client without SQL Server! Pin
Aryadip14-May-04 1:13
Aryadip14-May-04 1:13 
GeneralRe: How to run a CS program at client without SQL Server! Pin
tuliplanetrain16-May-04 23:28
tuliplanetrain16-May-04 23:28 
AnswerRe: How to run a CS program at client without SQL Server! Pin
mtone17-May-04 9:41
mtone17-May-04 9:41 
GeneralRe: How to run a CS program at client without SQL Server! Pin
tuliplanetrain17-May-04 15:36
tuliplanetrain17-May-04 15:36 
GeneralRe: How to run a CS program at client without SQL Server! Pin
mtone18-May-04 7:07
mtone18-May-04 7:07 
Generalspaces in SQL Server Columns (C#,VB.net) Pin
Itanium13-May-04 20:34
Itanium13-May-04 20:34 
GeneralRe: spaces in SQL Server Columns (C#,VB.net) Pin
mtone25-May-04 3:00
mtone25-May-04 3:00 
GeneralInserting special characters in SQL 2000 Pin
Anonymous13-May-04 19:37
Anonymous13-May-04 19:37 
GeneralRe: Inserting special characters in SQL 2000 Pin
Hesham Amin13-May-04 21:35
Hesham Amin13-May-04 21:35 
GeneralRe: Inserting special characters in SQL 2000 Pin
sanjucsharp13-May-04 21:39
sanjucsharp13-May-04 21:39 
GeneralRe: Inserting special characters in SQL 2000 Pin
Anonymous19-May-04 1:29
Anonymous19-May-04 1:29 

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.