Showing posts with label pro. Show all posts
Showing posts with label pro. Show all posts

Wednesday, March 21, 2012

Number of connections in XP Pro

We are planning multiple remote sites, each running 5 XP Pro or XP Embedded
which will logon to a Windows Server 2003 machine at Head Office via a WAN.
Each XP machine in the site will be replicating its single db to the 4
others via Merge Replication. We will also be using MSMQ 3 for
communication between 2 computers in any site.
I am unsure of how replication (and MSMQ) affects the 10 connections limit
of XP Pro. In replication, would there only be 1 incoming connection on
each machine? (i.e. The Publisher)
I bump into this limit all the time when running pro. The short answer is
you need to bypass this by using SQL Authentication and use a pull
subscription with FTP.
You may have to disable MSMQ, reboot, then ensure that the first thing you
do when you come up is download the snapshot. Then start up MSMQ.
After the snapshot is deployed you shouldn't have to use NT authentication
any more. You should be good from there.
"Chris" <chris.spamhater@.ihatespam.co.uk> wrote in message
news:OSXzqUPXEHA.1764@.TK2MSFTNGP10.phx.gbl...
> We are planning multiple remote sites, each running 5 XP Pro or XP
Embedded
> which will logon to a Windows Server 2003 machine at Head Office via a
WAN.
> Each XP machine in the site will be replicating its single db to the 4
> others via Merge Replication. We will also be using MSMQ 3 for
> communication between 2 computers in any site.
> I am unsure of how replication (and MSMQ) affects the 10 connections limit
> of XP Pro. In replication, would there only be 1 incoming connection on
> each machine? (i.e. The Publisher)
>
>

Saturday, February 25, 2012

Null problem

Hi all ,
I am using MicrosoftSQL 2000 server in Window 2000 Pro.
I have problem update column "SEC_CARRIER" which allow NULL values .
When execute sql below , it did not update SEC_CARRIER column at all .
However if i added some value in the SEC_CARRIER manually then execute
sql below , is ok .
Anyone have any ideas how to solve this problem ? I cannot change the
column to NOT NULL values because it have implemented and live.
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
DATE_CARD_ISSUE = @.date_card_issue,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
Thanks
Hi
NULL concatenated with a valid string is still NULL.
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
SEC_CARRIER = CARRIER_NO + '|' + ISNULL(SEC_CARRIER, ''),
DATE_CARD_ISSUE = @.date_card_issue,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"weetat" <test@.wavex-tech.com> wrote in message
news:OjkIp6c5FHA.472@.TK2MSFTNGP15.phx.gbl...
> Hi all ,
> I am using MicrosoftSQL 2000 server in Window 2000 Pro.
> I have problem update column "SEC_CARRIER" which allow NULL values .
> When execute sql below , it did not update SEC_CARRIER column at all .
> However if i added some value in the SEC_CARRIER manually then execute
> sql below , is ok .
> Anyone have any ideas how to solve this problem ? I cannot change the
> column to NOT NULL values because it have implemented and live.
> UPDATE ILS_USER_PROFILE
> SET CARRIER_NO = @.carrier_no ,
> SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
> DATE_CARD_ISSUE = @.date_card_issue,
> CARD_LOST = @.card_lost
> WHERE CARD_LOST ='N'
> AND BARCODE = @.barcode
> Thanks
|||Thanks , the solve it.
However , how to remove "<NULL>" value in the column ? below is my
stored procedure sql :
example : 12357869|90909|<NULL> --> remove <NULL>
CREATE PROCEDURE dbo.update_carrier
@.barcode varchar(14),
@.carrier_no varchar(200),
@.first_activated datetime,
@.card_lost varchar(1)
AS
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
FIRST_ACTIVATED = @.first_activated,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
GO
Thanks
Mike Epprecht (SQL MVP) wrote:
> Hi
> NULL concatenated with a valid string is still NULL.
> UPDATE ILS_USER_PROFILE
> SET CARRIER_NO = @.carrier_no ,
> SEC_CARRIER = CARRIER_NO + '|' + ISNULL(SEC_CARRIER, ''),
> DATE_CARD_ISSUE = @.date_card_issue,
> CARD_LOST = @.card_lost
> WHERE CARD_LOST ='N'
> AND BARCODE = @.barcode
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "weetat" <test@.wavex-tech.com> wrote in message
> news:OjkIp6c5FHA.472@.TK2MSFTNGP15.phx.gbl...
>
>

Monday, February 20, 2012

Null problem

Hi all ,
I am using MicrosoftSQL 2000 server in Window 2000 Pro.
I have problem update column "SEC_CARRIER" which allow NULL values .
When execute sql below , it did not update SEC_CARRIER column at all .
However if i added some value in the SEC_CARRIER manually then execute
sql below , is ok .
Anyone have any ideas how to solve this problem ? I cannot change the
column to NOT NULL values because it have implemented and live.
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
DATE_CARD_ISSUE = @.date_card_issue,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
ThanksHi
NULL concatenated with a valid string is still NULL.
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
SEC_CARRIER = CARRIER_NO + '|' + ISNULL(SEC_CARRIER, ''),
DATE_CARD_ISSUE = @.date_card_issue,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"weetat" <test@.wavex-tech.com> wrote in message
news:OjkIp6c5FHA.472@.TK2MSFTNGP15.phx.gbl...
> Hi all ,
> I am using MicrosoftSQL 2000 server in Window 2000 Pro.
> I have problem update column "SEC_CARRIER" which allow NULL values .
> When execute sql below , it did not update SEC_CARRIER column at all .
> However if i added some value in the SEC_CARRIER manually then execute
> sql below , is ok .
> Anyone have any ideas how to solve this problem ? I cannot change the
> column to NOT NULL values because it have implemented and live.
> UPDATE ILS_USER_PROFILE
> SET CARRIER_NO = @.carrier_no ,
> SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
> DATE_CARD_ISSUE = @.date_card_issue,
> CARD_LOST = @.card_lost
> WHERE CARD_LOST ='N'
> AND BARCODE = @.barcode
> Thanks|||Thanks , the solve it.
However , how to remove "<NULL>" value in the column ? below is my
stored procedure sql :
example : 12357869|90909|<NULL> --> remove <NULL>
CREATE PROCEDURE dbo.update_carrier
@.barcode varchar(14),
@.carrier_no varchar(200),
@.first_activated datetime,
@.card_lost varchar(1)
AS
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
FIRST_ACTIVATED = @.first_activated,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
GO
Thanks
Mike Epprecht (SQL MVP) wrote:
> Hi
> NULL concatenated with a valid string is still NULL.
> UPDATE ILS_USER_PROFILE
> SET CARRIER_NO = @.carrier_no ,
> SEC_CARRIER = CARRIER_NO + '|' + ISNULL(SEC_CARRIER, '')
,
> DATE_CARD_ISSUE = @.date_card_issue,
> CARD_LOST = @.card_lost
> WHERE CARD_LOST ='N'
> AND BARCODE = @.barcode
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "weetat" <test@.wavex-tech.com> wrote in message
> news:OjkIp6c5FHA.472@.TK2MSFTNGP15.phx.gbl...
>
>
>

Null problem

Hi all ,
I am using MicrosoftSQL 2000 server in Window 2000 Pro.
I have problem update column "SEC_CARRIER" which allow NULL values .
When execute sql below , it did not update SEC_CARRIER column at all .
However if i added some value in the SEC_CARRIER manually then execute
sql below , is ok .
Anyone have any ideas how to solve this problem ? I cannot change the
column to NOT NULL values because it have implemented and live.
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
DATE_CARD_ISSUE = @.date_card_issue,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
ThanksHi
NULL concatenated with a valid string is still NULL.
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
SEC_CARRIER = CARRIER_NO + '|' + ISNULL(SEC_CARRIER, ''),
DATE_CARD_ISSUE = @.date_card_issue,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"weetat" <test@.wavex-tech.com> wrote in message
news:OjkIp6c5FHA.472@.TK2MSFTNGP15.phx.gbl...
> Hi all ,
> I am using MicrosoftSQL 2000 server in Window 2000 Pro.
> I have problem update column "SEC_CARRIER" which allow NULL values .
> When execute sql below , it did not update SEC_CARRIER column at all .
> However if i added some value in the SEC_CARRIER manually then execute
> sql below , is ok .
> Anyone have any ideas how to solve this problem ? I cannot change the
> column to NOT NULL values because it have implemented and live.
> UPDATE ILS_USER_PROFILE
> SET CARRIER_NO = @.carrier_no ,
> SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
> DATE_CARD_ISSUE = @.date_card_issue,
> CARD_LOST = @.card_lost
> WHERE CARD_LOST ='N'
> AND BARCODE = @.barcode
> Thanks|||Thanks , the solve it.
However , how to remove "<NULL>" value in the column ? below is my
stored procedure sql :
example : 12357869|90909|<NULL> --> remove <NULL>
CREATE PROCEDURE dbo.update_carrier
@.barcode varchar(14),
@.carrier_no varchar(200),
@.first_activated datetime,
@.card_lost varchar(1)
AS
UPDATE ILS_USER_PROFILE
SET CARRIER_NO = @.carrier_no ,
FIRST_ACTIVATED = @.first_activated,
CARD_LOST = @.card_lost
WHERE CARD_LOST ='N'
AND BARCODE = @.barcode
GO
Thanks
Mike Epprecht (SQL MVP) wrote:
> Hi
> NULL concatenated with a valid string is still NULL.
> UPDATE ILS_USER_PROFILE
> SET CARRIER_NO = @.carrier_no ,
> SEC_CARRIER = CARRIER_NO + '|' + ISNULL(SEC_CARRIER, ''),
> DATE_CARD_ISSUE = @.date_card_issue,
> CARD_LOST = @.card_lost
> WHERE CARD_LOST ='N'
> AND BARCODE = @.barcode
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "weetat" <test@.wavex-tech.com> wrote in message
> news:OjkIp6c5FHA.472@.TK2MSFTNGP15.phx.gbl...
>>Hi all ,
>> I am using MicrosoftSQL 2000 server in Window 2000 Pro.
>> I have problem update column "SEC_CARRIER" which allow NULL values .
>> When execute sql below , it did not update SEC_CARRIER column at all .
>> However if i added some value in the SEC_CARRIER manually then execute
>>sql below , is ok .
>> Anyone have any ideas how to solve this problem ? I cannot change the
>>column to NOT NULL values because it have implemented and live.
>> UPDATE ILS_USER_PROFILE
>> SET CARRIER_NO = @.carrier_no ,
>> SEC_CARRIER = CARRIER_NO + '|' + SEC_CARRIER,
>> DATE_CARD_ISSUE = @.date_card_issue,
>> CARD_LOST = @.card_lost
>> WHERE CARD_LOST ='N'
>> AND BARCODE = @.barcode
>>Thanks
>
>