Viewing 15 posts - 3,106 through 3,120 (of 3,543 total)
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...
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...
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
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...
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...
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.
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
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
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
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!)
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...
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...
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...
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...
July 30, 2003 at 8:55 am
This might be near
as you mentioned create table of database sysobjects
CREATE TABLE #obj (dbid int,dbname varchar(128),objid int,objname varchar(128))
insert sysobject details
EXEC sp_MSforeachdb @command1 = "INSERT INTO #obj SELECT d.dbid,d.name,s.id,s.name FROM...
July 30, 2003 at 8:48 am
Viewing 15 posts - 3,106 through 3,120 (of 3,543 total)