Viewing 15 posts - 151 through 165 (of 191 total)
Thanks jeff
hmm almost there..but since i m not supposed to pass value or
declare variable in name facet of my policy..i cant use this code
which is fine..
EXEC (' declare @name sysname
...
March 13, 2009 at 10:19 am
well i agree but irrespective of all tht we r going to create new system , we are building it from scratch..
Now so far i m using NAme facet...
Where @Name...
March 12, 2009 at 1:45 pm
well i think this is not wht i want.. or m not getting u..
just copy n paste my code on ur ssms query window and execute it.. u willl understand...
March 12, 2009 at 12:25 pm
--ok i have modified it but still its not giving coreect results
i wan 3, 4 and 5 th position as only alphabets no number or anything else..
but its not checking...
March 12, 2009 at 12:02 pm
code print error in above code...
set @sql= ('select substring('''+@Name+''',3,1)')
--Exec(@sql)
--print @sql
set @cmd = ('select substring('''+@Name+''',4,1)')
--exec (@cmd)
set @line = ('select substring('''+@Name+''',5,1)')
--exec (@line)
So m selecting 3 , 4...
March 12, 2009 at 10:32 am
nope--not working u can try
exec('
DECLARE @object sysname,@sql varchar(100)
SET @object = ''P_adv_person''
set @sql = ''select substring(@object,3,1)''
Exec(@sql)')
...
March 11, 2009 at 2:58 pm
thanks for ur reply i always gets stuck in dynamic quotes
March 11, 2009 at 2:45 pm
Well thanks for ur extra comments and advice...
But if some one can share more knowledge abt how to build this kind of policy.. i appreciate
Thanks
March 8, 2009 at 11:25 am
I did that and i can see that SQL Server is started and sql agent is also started..
i found this from new error log file..
Why SQL Server...
March 2, 2009 at 3:44 pm
select name,log_reuse_wait_desc from sys.databases
is it possible to change log_reuse_wait_desc column value from nothing to LOG_Backup?
because ad hoc updates to system tables are not allowed in sql 2005
changing this option might...
February 23, 2009 at 1:37 pm
hmm may be typing mistake.. i m getting this
name rows reserved data index_size unused
transactions2354421 ...
February 23, 2009 at 1:07 pm
right now i m getting this result after executing the command
Msg 15009, Level 16, State 1, Procedure sp_spaceused, Line 62
The object 'transactions' does not exist in database 'cdr' or is...
February 23, 2009 at 1:04 pm
Viewing 15 posts - 151 through 165 (of 191 total)