Viewing 15 posts - 3,106 through 3,120 (of 3,544 total)
There is nothing in SQL7 BOL either way about using a variable. Try this as an alternative
create table #temptable (rowID int IDENTITY(1,1),...)
DBCC CHECKIDENT (#temptable,...
Far away is close at hand in the images of elsewhere.
Anon.
August 5, 2003 at 6:13 am
OPENQUERY needs a linked server and there is not one for the local machine. I have not tried it but I suppose you could create an alias called LOCAL to...
Far away is close at hand in the images of elsewhere.
Anon.
August 5, 2003 at 5:53 am
Don't need a cursor.
If each proc updates the extract table using the PK then write one proc to EXECUTE all the rest.
Another way is to number the procs from 1...
Far away is close at hand in the images of elsewhere.
Anon.
August 4, 2003 at 7:11 am
Are you extracting to variable output? If so there is a 255 byte limit per field. Try changing to fixed length
Far away is close at hand in the images of elsewhere.
Anon.
August 4, 2003 at 2:06 am
I think it is one of those buzz words that got around. I understand it as a datawarehouse but on a small scale or part of a datawarehouse.
Datawarehousing is not...
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 10:08 am
Yep your right Frank expecially when that someone reiterates multiple nested subs and functions 10 to 20 times. I keep my procs as small and compact as possible and only...
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 8:00 am
Well spotted there James. Hoisted by my own petard. I just copied,edit and pasted. I personally don't use BETWEEN and I always match dates in yyyy-mm-dd format.
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 7:41 am
Hi Frank,
quote:
be careful with such statements!There were times when I wished I'd meet the developer alone at night
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 7:36 am
We don't have any datawarehouses but have datamarts (corner shop variety). I use procs, dts, scheduler for whole process from data extraction to cube build. It works for me![]()
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 7:30 am
SELECT
'Name : '+[Name]+CHAR(13)+CHAR(10)+
'Address : '+Address+CHAR(13)+CHAR(10)+
'Country : '+Country+CHAR(13)+CHAR(10)
FROM tablea
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 7:28 am
I'm on SQL7 SP4 and it works fine for me.
What are you using to check column alignment (proportional font!)
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 7:17 am
In addition to SQLBill's observation you are also grouping by mor columns than you are selecting. Try this
SELECT fname, mhlka, sog, COUNT([id]) AS Count_id
FROM dbo.searchall
WHERE...
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 6:57 am
Good article Andy. My apps use common code for connection strings so adding this would be easy for me. As I do not have a large user base for my...
Far away is close at hand in the images of elsewhere.
Anon.
August 1, 2003 at 2:25 am
ISQL & OSQL are the DOS batch file equivalent of ISQL (aka QA Query Analyser)
use
ISQL -S servername -U username -P password -d database -b -m-1 -i scriptfilename
if ERRORLEVEL 1 pause
-b...
Far away is close at hand in the images of elsewhere.
Anon.
July 30, 2003 at 9:35 am
I put all my procs in separate files and use ISQL on the file I want to update my database(s). You can put several ISQL commands in a batch file...
Far away is close at hand in the images of elsewhere.
Anon.
July 30, 2003 at 8:55 am
Viewing 15 posts - 3,106 through 3,120 (of 3,544 total)