Viewing 15 posts - 226 through 240 (of 434 total)
Jeff Moden (9/29/2007)
Hey there PoleCat... long time no "see"...
compulsive personality. I see an article that interests me and stick around answering questions for a few days then find something else...
October 1, 2007 at 10:15 am
ok now I have this.
update tb_leadbox set invalidflag=6 where
uid2 not in
(select uid2 from (
select min(uid2)as uid2,fname,lname ,homephone from tb_leadbox where entrydate >= dateadd(dd,-365,getdate())
group by fname,lname,homephone
) t2) and invalidflag in...
September 28, 2007 at 10:13 am
should have mentioned this is SQL7 and upgrade is not a possibility.
September 28, 2007 at 9:09 am
I use Outlook 2000 and have the same formatting issue.
Hi mrpolecat, A new reply has been added by Vladan to a topic your subscribed to. You can view the reply...
September 25, 2007 at 11:25 am
you could test it by raising an error or change the smtp server in the code to an invalid mail server to force an error to occur.
September 25, 2007 at 11:12 am
you are correct about the typo. Since this is sample data we'll go with an incorrect result set, which makes your result set correct. You are also correct that random...
September 21, 2007 at 6:39 am
The agent usually runs under a different user tham SQLSVC. You can check this by right clicking on the agent. Make sure the account it is running under has the...
September 20, 2007 at 4:35 pm
Server 1-Count is how many areas are at level 1 (red) for that server
Server 2-Count is how many areas are at level 2(yellow) for that server
Server 3-Count is how many areas are...
September 20, 2007 at 4:06 pm
what you want is a pivot or crosstab query and there are lots of post about dynamically creating them on the forum.
The static version for this task looks like this:
select...
September 20, 2007 at 2:57 pm
Loner-
In tableB the combination of cutomernumber and store is unique. It was created from a transaction table that contained a date and time for each store use.
I want the primary...
September 20, 2007 at 10:07 am
a customer number is an integer, a store number is an integer, storeusedtimes is an an integer
Table A
CustomerNumber,Store Number
1,1
2,1
3,2
4,4
5,2
TableB
CustomerNumber,StoreUsed,TimesUsed
1,1,5
1,2,5
1,3,1
2,1,1
2,2,1
2,3,1
3,2,1
3,5,5
3,4,5
4,1,1
4,2,2
4,3,3
Results
CustomerNUmber,StoreMostUsed
1,1 PrimaryStore in tie
2,2 Primary Store in tie
3,5 PrimaryStore not in tie
4,3 No...
September 20, 2007 at 10:01 am
Here is an articel on numbers tables
July 26, 2007 at 12:09 pm
a vbs script sets a global variable to create your tablename.
ww= datepart(ww,date())
DTSGlobalVariables("importpath").Value = "\\import path to file\"
DTSGlobalVariables("exportpath").Value = "\\export path to file\"
DTSGlobalVariables("importname").Value = "w" & ww &...
July 26, 2007 at 10:48 am
If they are not huge files a vbscript activex could be used to cycle through the records and separate them into individual files for import.
July 25, 2007 at 8:13 am
Viewing 15 posts - 226 through 240 (of 434 total)