IIS Port numbers?
80 is the default port for HTTP traffic
21 is the default port for FTP for sending and recieving
data.
443 is the defaulr for SSL traffic
port 25 smtp
FTP: 20, 21,
SMTP: 28,
HTTP: 80,
SSL:443,
DNS: 53
POP3:110
SMTP:25
NNTP:119
IMAP:142
SSL port no:
HTTP: 443
SMTP:456
POP3:995
IMAP:993
NNTP:563
LDAP:636
Tuesday, February 23, 2010
Monday, February 1, 2010
Updating a set of rows in Sql Server : How to use While loop in Sql Server
Declare @PubId int
set @PubId = 1046
Declare @NewsId int
set @NewsId = 7026
Begin Tran T2
WHILE (@NewsId <= 7125)
BEGIN
update MstReports
set ReportCode = 'Ovum' + CONVERT(VARCHAR(10),@PubId)
where NewsId = @NewsId
print @newsid
SET @NewsId = @NewsId + 1
SET @PubId = @PubId + 1
IF @NewsId = 7126
BREAK;
END
rollback
or
commit
set @PubId = 1046
Declare @NewsId int
set @NewsId = 7026
Begin Tran T2
WHILE (@NewsId <= 7125)
BEGIN
update MstReports
set ReportCode = 'Ovum' + CONVERT(VARCHAR(10),@PubId)
where NewsId = @NewsId
print @newsid
SET @NewsId = @NewsId + 1
SET @PubId = @PubId + 1
IF @NewsId = 7126
BREAK;
END
rollback
or
commit
Subscribe to:
Posts (Atom)