Viewing 15 posts - 6,031 through 6,045 (of 6,678 total)
Please read the following article: http://www.karaszi.com/SQLServer/info_dont_shrink.asp
You should not shrink the transaction log on a regular basis. And no, a database backup does not back up the transaction log. ...
October 17, 2008 at 5:02 pm
Are you running on Vista? If so, are you trying to start the agent through SSMS? If yes, then you need to be running SSMS as an Administrator...
October 17, 2008 at 4:44 pm
You should not shrink your database on a regular scheduled basis. You should always maintain enough free space in the database to allow for index rebuilds and reorgs -...
October 17, 2008 at 4:39 pm
Hemalatha (10/17/2008)
I know that this is a very simple query but somewhere struggling
These are the columns
gps_datetime registrationno, speed
10/10/2008 A123 ...
October 17, 2008 at 2:52 pm
psangeetha (10/17/2008)
October 17, 2008 at 2:46 pm
psangeetha (10/17/2008)
create view test (case_seq,description,case_cred,number)
as SELECT b.case_seq,a.description
,a.case_cred
...
October 17, 2008 at 2:23 pm
psangeetha (10/17/2008)
To create a view to generate the case_seq from the form_items table like below:
create view caseseq (case_seq)
as
select b.case_seq from form_items a,case_form b where
b.case_name='test' and a.case_cred=b.case_cred order by...
October 17, 2008 at 2:03 pm
Are you sure you really need to store that information? If not, you can return that information using row_number() in the query (or create a view) that would generate...
October 17, 2008 at 1:41 pm
Seth, you are right - I missed that 'small' little detail 😉
October 17, 2008 at 1:40 pm
CREATE PROCEDURE [dbo].[svg_RiskGetCardLocationByIso]
declare @CardNum varchar(100),
declare @DateFrom datetime,
declare @DateTo datetime,
@IsoNum int,
@CardNumDES3 varchar(100) ='0000000000000000',
@username varchar(100)=''
AS
...
Remove the word declare from the list of parameters. It is not valid at that point and...
October 17, 2008 at 1:27 pm
MrBaseball34 (10/17/2008)
I get the dreaded: Subquery returned more than 1 value. Can you see something obvious?
Yes, the following code is the problem:
, (SELECT r.ResourceID
...
October 17, 2008 at 1:19 pm
If you are using linked servers, make sure you have RPC enabled on the linked server and you can perform the following:
Execute serverb.databaseb.schemab.procedure;
October 16, 2008 at 4:49 pm
Please review the following article and provide the relevant data so we can provide a tested and validated solution:
Best Practices: http://www.sqlservercentral.com/articles/Best+Practices/61537/
In the meantime, you could do something along the lines...
October 16, 2008 at 4:39 pm
I run the integrity check nightly using the PHYSICAL_ONLY option, and weekly perform a full integrity check.
October 16, 2008 at 3:11 pm
Viewing 15 posts - 6,031 through 6,045 (of 6,678 total)