Viewing 15 posts - 136 through 150 (of 427 total)
Clinton Brand posted this link for RRAS and NAT issues "NAT Clients Cannot View Web Sites After You Install SQL 2000 SP2 or SP3 on an RRAS Server":
http://support.microsoft.com/?id=324288
HTH,
Andy
April 2, 2006 at 10:30 pm
Your SQL actually returns multiple Recordsets. For ADO use the NextRecordset method:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmthnextrec.asp
More on ADO and multiple recordsets:
Andy
April 2, 2006 at 10:18 pm
Try:
CONTAINS (*,' "Laer" AND "Spontaneous" AND "corrections" ')
Andy
March 2, 2006 at 1:01 am
I think your example data will not allow this easily, however you probably do not have an actual row with A1, B1, C1, D1, right?
Here is one trick that I use...
February 16, 2006 at 11:05 pm
You can try to convert your Declinations into a 2nd set of Latitude, Longitude, then use:
CREATE FUNCTION dbo.fn_GreatCircleDistance
(@Latitude1 float = NULL,
@Longitude1 float = NULL,
@Latitude2 float = NULL,
@Longitude2 float = NULL)
RETURNS...
February 16, 2006 at 10:29 pm
Change "adrec2.open" to:
AdCn.Execute SQL, , adCmdText + adExecuteNoRecords
Since your connection string defaults to the master database, I would expect the demo1 table to be there!
You could change the connection...
February 6, 2006 at 12:41 am
If you want to restrict for 0 valued records for Both AZ and FG_ty
UPDATE DCR SET FG_AZ=FG.FG_AZ
,FG_ty = FG.FG_ty
FROM DCR
INNER JOIN FG ON DCR.Customer = FG.CustomerID
WHERE FG.FG_AZ IS...
February 6, 2006 at 12:35 am
Use CONVERT(varchar(256),text_field) AS First256Text, you can adjust the varchar size for the desired length.
Andy
February 2, 2006 at 2:15 am
Darko,
Since no definition of the vehicule table was given, I did not attempt to guess. If it is a many table to car, then:
SELECT COUNT(DISTINCT marq) AS Marqs FROM vehicule
Or you may...
February 2, 2006 at 1:41 am
When:
SELECT DISTINCT marq FROM car
You are really doing:
SELECT marq FROM car GROUP BY marq
So:
SELECT COUNT(DISTINCT marq) AS Marqs FROM car GROUP BY marq
Is returning the rows you expect, verify using:
SELECT...
February 2, 2006 at 1:31 am
Check out this KB Article:
http://support.microsoft.com/default.aspx/kb/186133
Interesting ways to sequence a set of rows, I use an Update after the Insert, but you should be able to combine these into the...
February 1, 2006 at 2:10 am
Try:
declare @tamanho varchar(10)
select @tamanho=substring(name,1,10),
--CAST((FILEPROPERTY(name, 'SpaceUsed')* 8)/1024 AS numeric(10,2))
FROM sysfiles
SELECT @tamanho
or:
declare @tamanho varchar(10)
select @tamanho=
--substring(name,1,30) as Banco,
CONVERT(varchar(10),CAST((FILEPROPERTY(name, 'SpaceUsed')* 8)/1024 AS numeric(10,2)))
FROM sysfiles
SELECT @tamanho
or:
declare @tamanho numeric(10,2), @banco varchar(30)
select @banco=substring(name,1,30),
@tamanho=CAST((FILEPROPERTY(name,...
February 1, 2006 at 1:41 am
Once you link to the MDB from one server, that link has the file open, since the MDB directory is ReadOnly it cannot create the LDF to share the file.
You...
February 1, 2006 at 1:25 am
The IP looks like an Internet address, if so then block port 1433 in your firewall.
If you have a valid DMZ access need then be sure to open port 1433...
January 25, 2006 at 1:33 am
Try changing:
WHERE c.OrderDate between '11/11/2004' AND '11/30/2004'
to:
WHERE c.OrderDate between '20041111' AND '20041130'
If that does not work, comment:
--join Orders c on b.OrderID = c.OrderID
--WHERE c.OrderDate between '20041111' AND '20041130'
Then see if...
January 25, 2006 at 1:20 am
Viewing 15 posts - 136 through 150 (of 427 total)