Viewing 15 posts - 1,276 through 1,290 (of 2,062 total)
You might search the web on sp_attach_single_file_db. Make sure you have it backed up first.
March 1, 2007 at 6:33 am
There must be a more elaborate page than this one
February 20, 2007 at 12:46 am
Hello,
There is a page about locking in sql server 7,2000 where the key is described.
February 20, 2007 at 12:38 am
Is there anything mentioned in the error logs of sql server?
Has sql server recently been moved/renamed?
Looks like a permission issue. Normal admin functions run fine?
February 16, 2007 at 3:48 am
Have a look at
http://support.microsoft.com/kb/328306/en-us
Is the remote server Windows Authentication only?
February 16, 2007 at 3:42 am
you still have the line
Set rsLogin = conn2.Execute(SQLQuery2) ?
February 14, 2007 at 1:03 pm
Do you have experience with asp?
Step 1: create connection
Step 2: execute query
Step 3: check if there are any results .eof
Step 4: process results
Step 5: close recordset
The function IsNull transforms any...
February 14, 2007 at 11:06 am
Have you included the function tnull before you call tnull?
You could also change null to IsNull.(Haven't got any empty values yet)
To be really sure you should test if sp_getLogin returns...
February 14, 2007 at 10:29 am
El,
The ... was "and so on". The left join causes MATBIT.ITEMCODE to be null if NoSpaces.ITEMCODE isn't found in MATBIT. Actual syntax can differ bases on Access version and how...
February 13, 2007 at 3:25 am
Hello,
I divided up in 2 and left out worktask,workrequest (not used?)
select Mileage.users.Uname
, Mileage.UnameFirst
, Mileage.UnameLast
, Mileage.totMileage
, expenses.totExpenses
FROM --calculate total mileage per user,per workcompleted
(
SELECT users.Uname, users.UnameFirst, users.UnameLast
,round(sum(workcompleted.WCmileage), 2) as totMileage
FROM users /*all...
February 12, 2007 at 10:43 am
/*updating existing values*/
UPDATE MATBIT INNER JOIN [NewPrice List] ON MATBIT.ITEMCODE=[NewPrice List].ITEMCODE SET MATBIT.PRICE = [NewPrice List]!MATBITPRICE, MATBIT.DESC_Col = [NewPrice List]!MATBITDESC_COL;
/*inserting new values*/
INSERT INTO MATBIT
(PRICE,DESC_Col,ITEMCODE )
SELECT NoSpaces.MATBITPRICE,...
FROM [NewPrice List] NoSpaces
WHERE...
February 12, 2007 at 10:24 am
finding bottleneck:
Look at the performance counter (cpu, I/O)?
sp_who2 gives some information about connections, if they are blocked and the amount op cpu,io since the connection started
sql profiler can start a...
February 12, 2007 at 1:32 am
I havent't used this one, but there is an option-clause for the select statement
USE pubs
SELECT a.au_fname, a.au_lname, SUBSTRING(t.title, 1, 15)
FROM authors a INNER JOIN titleauthor ta
ON...
February 11, 2007 at 6:20 am
If you use triggers be sure to add the line
SET NOCOUNT ON after the "AS" to reduce roundtrips.
CREATE TRIGGER LastEditDate ON ManifestHeader FOR INSERT,UPDATE
AS
SET NOCOUNT ON
...
see
http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1057991,00.html
February 11, 2007 at 6:14 am
Depends on how high the fragmentation level is. One advantage of dbcc indexdefrag is that you can continue to work. A disadvantage is that all it operations are logged, resulting...
February 11, 2007 at 6:10 am
Viewing 15 posts - 1,276 through 1,290 (of 2,062 total)