Viewing 15 posts - 2,836 through 2,850 (of 3,544 total)
Prior to Frank's post I downloaded sqlbolsetup.cab (SQL2K (SP3) BOL). The cab contains setup plus msi's for the Windows Installer and one msi for BOL. It installed to the default location
C:\Program...
Far away is close at hand in the images of elsewhere.
Anon.
January 21, 2004 at 7:26 am
For non negative values I prefer
REPLACE(STR(512,15,0),' ','0') ![]()
Far away is close at hand in the images of elsewhere.
Anon.
January 21, 2004 at 7:05 am
Check language setting for login on new server. This can affect date input.
Far away is close at hand in the images of elsewhere.
Anon.
January 20, 2004 at 7:05 am
You can only build a cursor using a SELECT statement.
Use a temp table, e.g.
CREATE TABLE #temp (col1, col2 ...)
INSERT INTO #temp EXECUTE proc1
DECLARE cursor_name CURSOR
FOR SELECT col1, col2 ......
Far away is close at hand in the images of elsewhere.
Anon.
January 20, 2004 at 6:46 am
This solution uses a loop instead of a function
CREATE TABLE #temp (Claim_ID, Cust_Name, Entry_Date, ReportsPrinted)
INSERT INTO #temp
SELECT DISTINCT Claim_ID,Cust_Name,Entry_Date,NULL
FROM Claim
DECLARE @report_type char(1)
SELECT @report_type...
Far away is close at hand in the images of elsewhere.
Anon.
January 19, 2004 at 7:05 am
Hi Frank,
No problems here ![]()
Far away is close at hand in the images of elsewhere.
Anon.
January 15, 2004 at 6:31 am
Use ActiveX workflow script to stop processing if duplicate_count>0 by setting
Main = DTSStepScriptResult_DontExecuteTask
Far away is close at hand in the images of elsewhere.
Anon.
January 13, 2004 at 8:27 am
The sid of the specified user in the 'current database' is changed to the sid of the specified login. If you use the proc on the 'new database' the 'old...
Far away is close at hand in the images of elsewhere.
Anon.
January 13, 2004 at 7:09 am
Try adding
;ANSINPW=OFF
to the OPENROWSET connection string.
Far away is close at hand in the images of elsewhere.
Anon.
January 9, 2004 at 6:29 am
Hi Frank,
Yeh and the avatar looks better ![]()
Far away is close at hand in the images of elsewhere.
Anon.
January 8, 2004 at 10:03 am
Nice
Just beginning to get to grips with it.
Noticed today in Active threads, if on a page a while and then move to...
Far away is close at hand in the images of elsewhere.
Anon.
January 8, 2004 at 6:55 am
I would preprocess the files first before loading into sql.
Use DOS command
findstr /i /r "." \folder\* > \difffolder\newfile.txt
this will produce single file containing each line of all the files with the...
Far away is close at hand in the images of elsewhere.
Anon.
January 8, 2004 at 6:42 am
Example TSQL from BOL
RESTORE DATABASE MyNwind2_Test
FROM MyNwind_2
WITH
MOVE 'MyNwind2_data' TO 'D:\MyData\MyNwind2_Test_data.mdf',
MOVE 'MyNwind2_log' TO 'D:\MyData\MyNwind2_Test_log.ldf'
Far away is close at hand in the images of elsewhere.
Anon.
January 8, 2004 at 6:01 am
Why not bcp?
Create a proc to output the data in the format you want then use either bcp, dts or isql to output to a text file.
Far away is close at hand in the images of elsewhere.
Anon.
January 8, 2004 at 5:52 am
I would do the following
Create a staging table (RecordID int IDENTITY(1,1), name, otherinfo, grade1, grade2, grade3, grade4)
Create a single DTS package to
1. Truncate staging table
2. RESEED if...
Far away is close at hand in the images of elsewhere.
Anon.
January 7, 2004 at 2:43 am
Viewing 15 posts - 2,836 through 2,850 (of 3,544 total)