Viewing 15 posts - 241 through 255 (of 330 total)
Hi
Can you post sample input what you are giving, so that it would be helpful to sort out the problem
Thanks
Parthi
September 29, 2010 at 2:31 pm
Hi,
The following will work, but keep in mind that the information in sys.dm_db_index_usage_stats is only since the last service start.
SELECT t.name AS 'Table',
SUM(i.user_seeks + i.user_scans + i.user_lookups) 'Total...
September 29, 2010 at 2:24 pm
Hi,
After Switching to the Simple Recovery Model
If you switch from the full or bulk-logged recovery model to the simple recovery model, you break the backup log chain. Therefore, you back...
September 29, 2010 at 2:00 pm
IF EXISTS (SELECT * FROM dbo.fileinfo U INNER JOIN dbo.[File] A ON U.filename =A.filename )
BEGIN
Select ' First '
...
September 29, 2010 at 1:23 pm
tshelly (9/29/2010)
CREATE PROCEDURE usp_addusertest4
@shusername varchar(35),
@shdescription varchar(50),
@shopid varchar(3),
@shadmin varchar (1)= '0',
@shehshop varchar(2) = 'AU',
@shstoreroom varchar(1) = 'A',
AS
BEGIN
INSERT INTO FASTER.sheader (shusername,shdescription,shopid,
shadmin,shehshop,shstoreroom,
VALUES (@shusername,@shdescription,@shopid,
@shadmin,@shehshop,@shstoreroom,
2. INSERT INTO Table 2
INSERT INTO faster.SAttribute (sashusername)
SELECT @shusername
So...
September 29, 2010 at 1:01 pm
What error did you got i did not get any error
see this
declare @fileinfo table ([FileName] varchar(10),[RowCount] int)
declare @file table ([FileName] varchar(10),[RowCount] int)
insert into @fileinfo
Select 'A',1
insert into @file
Select...
September 29, 2010 at 12:36 pm
sandy-833685 (9/27/2010)
And when i try to execute the select statement with convert like
select * from tablename
where convert(varchar(10),time,103)<'06/06/2010'
as i...
September 27, 2010 at 2:53 pm
imraanm (9/27/2010)
THank you for the reply. I have tried the script, and still not luck. Doesn't display the desired info.
Perhaps if you have a script to audit all the...
September 27, 2010 at 10:03 am
imraanm (9/23/2010)
We have a sql server 2000. SQL Profiler is not running on this server.
I need to info on/audit all scripts that were run (successfull or...
September 23, 2010 at 7:48 am
nari.koud (9/21/2010)
I have Database DB and Table CB ..CB has 3 dependent Tables OB ,CP,CI
So My Requirement is ..
delete From CB
where ID_NUM not Like '99%'
But...
September 23, 2010 at 7:27 am
david_wendelken (9/21/2010)
It has a command I don't understand.
Is...
September 23, 2010 at 6:55 am
Ghanta (9/22/2010)
September 22, 2010 at 1:34 pm
Declare @VendorName1 Nvarchar(max), @FileType1 Nvarchar(max) , @Database1 Nvarchar(max)
Declare @VendorName Nvarchar(max), @FileType Nvarchar(max) , @Database Nvarchar(max)
set @VendorName1 ='Test1|Test2|Test3|Test4|'
set @FileType1 ='File1|File2|File3|File4|'
set @Database1 ='Database1|Database2|Database3|'
Select CHARINDEX('|', @VendorName1), len(@VendorName1)
While len(@VendorName1)>0
begin
Select @VendorName = substring(@VendorName1, 0,CHARINDEX('|', @VendorName1))
Select...
September 22, 2010 at 12:38 pm
You might not be having field name called Score in any of the following tables
view_active_advertisers
tbl_advertiser_category
tbl_advertiser_section_data
September 22, 2010 at 11:06 am
Can you post that sample code so that it would be bit easy to get through
Thanks
Parthi
September 22, 2010 at 10:39 am
Viewing 15 posts - 241 through 255 (of 330 total)