Viewing 13 posts - 1 through 13 (of 13 total)
I changed the code to the following:
<%@Language=VBScript%>
<% option explicit %>
<!--#include file="../includes/adovbs.inc"-->
<%
dim objRS
set objRS = server.createobject("adodb.recordset")
dim strSource
strSource = "Provider=SQLOLEDB.1;DRIVER={MS SQL-Server};UID=MyUserID;PWD=MyPassword;DATABASE=Sailors;SERVER=MyServerName"
dim sqlStorProc
sqlStorProc = "qAllBoatNames"...
July 30, 2003 at 9:29 am
Thanks for the information. I adjusted the code:
<%@Language=VBScript%>
<% option explicit %>
<%
dim adOpenStatic, adLockBatchOptimistic, adUseClient
adOpenStatic = 3
adLockBatchOptimistic = 4
dim objRS
set objRS = server.createobject("adodb.recordset")...
July 30, 2003 at 8:47 am
Which one of the two is most widely used?
Security vulnerabilities?
Buffer overruns?
Encryption?
April 30, 2003 at 6:45 am
I'd shake your hand for all of your help. However - Thank you very much for your assistance.
April 8, 2003 at 2:28 pm
So the output file would be like:
oc:\scripts\results_createtablescript.txt.out'
April 8, 2003 at 2:22 pm
Would this be the final script?
USE master
GO
-- create a database
CREATE DATABASE database1
ON
( NAME = database1,
FILENAME = 'c:\program files\microsoft sql server\mssql\data\database1.mdf',
SIZE = 4,
...
April 8, 2003 at 2:16 pm
Would the script look like this?
--
EXEC xp_cmdshell'isql.exe -S nameofmyserver -U mydbouserid -P mydbopassword -id:\scripts\createtablescript.sql -od:\scripts\sp_who.out'
--
Is id: residing at the c drive (c:\scripts\createtabescript.sql)?
If od: is the output, will it generate...
April 8, 2003 at 2:11 pm
mdamera,
In your block of code, where do I reference the name of my script? I understand the following of your code:
EXEC xp_cmdshell - executing xp_cmdshell
'isql.exe = ?
-S = nameofmyserver...
April 8, 2003 at 1:59 pm
Below is an example of my create database script.
-----------
USE master
GO
CREATE DATABASE database1
ON
( NAME = database1,
FILENAME = 'c:\program files\microsoft sql server\mssql\data\database1.mdf',
SIZE = 4,
...
April 8, 2003 at 1:33 pm
I'm using SQL Query Analyzer to run the create database script. After the the last Go command, prior to the next block of code to create database2; I want to...
April 8, 2003 at 1:27 pm
Steve,
Thanks for the reply. If I remove the identity and perform the copy, I'll have to reset the Identity. How will this effect the current recorders? Will they acquire an...
March 18, 2003 at 10:54 am
Andy,
Thanks for the feedback. I too, agree with the need for RAID - (RAID5) and using SQL's dynamic memory. I mentioned that another box was need for the SQL server....
March 3, 2003 at 10:26 am
Viewing 13 posts - 1 through 13 (of 13 total)