Viewing 15 posts - 646 through 660 (of 1,253 total)
Hi
There is a syntax error in your code , "=" is missing .
IF EXISTS (SELECT *
FROM dbo.SysObjects
...
"Keep Trying"
August 11, 2008 at 4:08 am
SET @SqlCmd = 'USE ?;SELECT DB_NAME() AS DATABASENAME,
OBJECT_NAME(B.OBJECT_ID) AS TABLENAME,
...
"Keep Trying"
August 11, 2008 at 12:52 am
Hi
In the @Database table variable store database id also.
Then in you select query change this part
"FROM SYS.DM_DB_INDEX_USAGE_STATS C
...
"Keep Trying"
August 8, 2008 at 6:13 am
Hi
sorry for the delay.
to calculate the scheduledate
select * from
Maintenance where dateadd(mm,6,datestart) for maint_id = "somevalue" and datestart = getdate().
similarly for the week,year,days etc.
Put this in a proc...
"Keep Trying"
August 8, 2008 at 5:55 am
what abt this..
One single encrypted procedure containing the open master key statement.
In the procedure that inserts the data
call the master key proc
do the...
"Keep Trying"
August 7, 2008 at 6:35 am
Its been a relatively fast release for SQL 2008. I sometimes feel that such fast releases result in a lot of cost to companies and people working on SQL. All...
"Keep Trying"
August 7, 2008 at 6:25 am
pls post the query.
from BOL - " A sort column can include an expression, but when the database is in SQL Server 2005 (90) compatibility mode the expression cannot resolve...
"Keep Trying"
August 7, 2008 at 12:34 am
Try to insert the data in small batches if thats possible.
"Keep Trying"
August 7, 2008 at 12:16 am
Hi
I do not use any tools , so what i do may not help you. But still... All the schema changes are stored in a folder createad for each date....
"Keep Trying"
August 6, 2008 at 11:31 pm
Hi
Dont know whthr this will help or not ... what abt putting the open master key statement in a encrypted procedure.
"Keep Trying"
August 6, 2008 at 12:35 am
I agree with Steve... Most of us can take a break and come back to our previous levels in a (short) period of time. The main reason i think is...
"Keep Trying"
August 5, 2008 at 4:32 am
Seems like you want us to help you in designing tables. My suggestion is that you do a rough design and then post it here. It will give us more...
"Keep Trying"
August 5, 2008 at 4:23 am
Hi
U can use sys.databases by joining it with SYS.DM_DB_INDEX_USAGE_STATS on database_id column.
"Keep Trying"
August 5, 2008 at 4:15 am
Viewing 15 posts - 646 through 660 (of 1,253 total)