Viewing 15 posts - 1,561 through 1,575 (of 2,051 total)
Try
You need to check the configuration for the service. Go to
Services(from Control Panel or Administrative Tools -
depending on your OS).
Go to the sqlserveragent service and view the properties for
the...
February 26, 2006 at 11:29 am
*rewritten with joins
*group by takes care of distinct
SELECT B.BookingID,
ISNULL(UPPER(C.CustomerSurname),'') AS CustomerSurname
FROM tbl_hp_bookings B WITH (NOLOCK)
INNER JOIN tbl_hp_bookings_transactions BT WITH (NOLOCK)
ON B.BookingID = BT.BookingID
AND BT.TransactionTypeID <> 1001
LEFT JOIN tbl_hp_customers C WITH...
February 25, 2006 at 11:44 am
*convert the int properly with convert(varchar(length_of_field),code)
*another way of updating
UPDATE OccRadiology
SET OccRadiology.Ipsil= goodcodes.code
FROM OccRadiology
INNER JOIN /*only the ones who match*/
(select convert(varchar(30),CodeLookUp.Code) as code /*ipsil is varchar*/
FROM CodeLookUp
WHERE CodeLookUp.CType = 93
) AS...
February 25, 2006 at 11:37 am
That's odd.
How do you start sql server agent? From services.msc ?
What sql server version are you using?
Does the path in services.msc ->services-> SQLSERVERAGENT path to executable is correct?
Mine is sql...
February 25, 2006 at 11:22 am
When the popup with the change script comes up, there is a checkbox automatically generate change script on save
February 25, 2006 at 7:27 am
This is a more complete version of
http://support.microsoft.com/default.aspx?scid=kb;en-us;329332&Product=sql
February 25, 2006 at 7:23 am
Either restricting their rights at database level to only allow selects and/or having a check on your query builder.
Do they connect to the database only by your application (application role,...
February 25, 2006 at 7:19 am
Freely translated from Access97 help:
The position of the new record depends on the type of Recordset:
If the type is dynaset, the new record is added at the end.
If the type...
February 24, 2006 at 10:57 am
If you omit the length of varchar, sql server picks the default length.
Normally it is around 30.
So CREATE PROCEDURE dbo.GET_USER_DETAIL (@lan_id varchar)
is actually like
CREATE PROCEDURE dbo.GET_USER_DETAIL (@lan_id varchar(30))
It bites
February 23, 2006 at 2:41 pm
Surely you can speed it up this way.
To speed it further up, issue the proper sql statement instead of using .addnew, .update,.delete
This is a great site concerning does & don't...
February 23, 2006 at 2:27 pm
select top 1 Result
from @tmpResults
order by newid()?
February 22, 2006 at 1:33 pm
One connection with multiple recordsets
according to
http://www.eruditesys.com/web-design-articles/optimizing-php-and-asp-code.html
February 22, 2006 at 1:24 pm
*does GetSubjectLine(strReport) returns unicode?
*Is Access Module Time a datetime field?
If you create a test stored procedure
CREATE PROCEDURE [dbo].[get_phy_list]
@DateFrom datetime,
@DateTo datetime,
@mName varchar(50) =null
AS
SET NOCOUNT ON
SET @moduleName ='Part I'
SELECT...
February 22, 2006 at 12:04 pm
some comments
*replace
and dbo.[Doctor Module Log].[Module Name] ='+ @moduleName '
with
and dbo.[Doctor Module Log].[Module Name] =@moduleName
*SELECT * from dbo.TrainingName
Don't use select *, name...
February 22, 2006 at 11:18 am
*Using dates in the format mm/dd/yyyy is generally not recommended.
What is 01/10/2006 the first of october or the tenth of january?
With 20060110 (yyyymmdd) there is no doubt and also is excellent for...
February 22, 2006 at 11:01 am
Viewing 15 posts - 1,561 through 1,575 (of 2,051 total)