Is there a VB.Net code that would create a SQL Server database (not tables)? Is it possible? How?
Thankz...
Is there a VB.Net code that would create a SQL Server database (not tables)? Is it possible? How?
Thankz...
configure and add a <connectionstring> to your web.config file that points to your SQL database. i suggest you use MS Visual Basic 2005.
check this out for video tutorials: http://www.morphian.4t.com
run this sql command
USE [master]
GO
CREATE DATABASE [DBTEST] ON PRIMARY
( NAME = N'pRec7_OLD_Data', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\DBTEST_new.mdf' , SIZE = 25408KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
LOG ON
( NAME = N'pRec7_OLD_Log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\DBTEST_new.ldf' , SIZE = 248064KB , MAXSIZE = 2048GB , FILEGROWTH = 1024KB )
COLLATE SQL_Latin1_General_CP1_CI_AS
GO
EXEC dbo.sp_dbcmptlevel @dbname=N'DBTEST', @new_cmptlevel=90
Ah.. ok thankz...
Godbless people
hibung lang ko da...abi nako maghimo gyud ka og imong database...
Similar Threads |
|