Viewing 15 posts - 3,091 through 3,105 (of 13,461 total)
I'd say if you have 14 separate jobs, they should not be scheduled to execute at all. i'd actually remove them to avoid confusion.
instead,
shouldn't you create one single...
July 18, 2013 at 5:36 am
no, not the default trace; you'd need to use the dmvs instead.
the default trace only tracks DDL or database settings changes...create/drop, alter, stuff like that; nothing related to Data access...
July 17, 2013 at 9:38 am
huum (7/17/2013)
I want to capture users logged int o my database from 9-5 and then get the average per day.can i please have the guidence
users don't actually login at a...
July 17, 2013 at 8:14 am
an example of checkign the references HanShi mentioned:
--Objects:
SELECT objz.name,
fn.*
FROM sys.objects objz
CROSS APPLY sys.dm_sql_referenced_entities(schema_name(schema_id) + '.' + objz.name,'OBJECT')fn
WHERE referenced_entity_name ='all_data'
and just in case, you can check the...
July 17, 2013 at 5:58 am
Charles Deaton (7/15/2013)
That wprk fine for dropping the user from the master database. Is it possible to specify the database I need?
just a a USE DatabaseName to the command, if...
July 15, 2013 at 7:27 am
ok ray, this looks like a business "fiscal year" question, right?
ie my biz year goes from july1 to jun30 of the next year?
substitue MyDate for GETDATE() in this query, and...
July 11, 2013 at 8:46 am
rayh 98086 (7/11/2013)
I would like to create a SQL query that will make a decision based on date. For example, if the date is Jun 30,2013 or greater, then...
July 11, 2013 at 8:22 am
http://www.microsoft.com/en-us/sqlserver/editions/2012-editions/express.aspx
go to this page, and click on the red button that says "Download SQL Server 2012 Express"
a div will appear with various downloads, so just click the one that says...
July 11, 2013 at 5:39 am
erikd (7/10/2013)
July 10, 2013 at 12:04 pm
newbieuser (7/10/2013)
OH really? I thought its in MB?
yes it is, but that's what's so tricky! it's not obvious!
how much is 2147483647 MegaBytes?
2147483+ Gigabytes!
2147+ TeraBytes!
July 10, 2013 at 12:00 pm
i thought it was pretty straight forward from there;
you would simply modify my example with a WHERE statement...
WHERE filz.[name]='XXX_2012'
if you need a fulls cript, i'm pretty sure if you search...
July 10, 2013 at 11:58 am
newbieuser (7/10/2013)
July 10, 2013 at 11:17 am
i'll throw my two cents in;
I use a combination of saved scripts in a specific folder(lazily using C:\Users\<username>\Documents\SQL Server Management Studio\Projects, and that folder has subfolders and hundreds, probably thousands...
July 10, 2013 at 10:49 am
most likely permissions, because the startup account of SQL server doesn't have access to the network share.
When you touch anything outside of a database, SQL server does not use...
July 10, 2013 at 10:30 am
well, i've got this saved in my snippets to find tables by filegroup:
SELECT
objz.[name] As TableName,
objz.[type],
idxz.[name] As IndexName,
...
July 10, 2013 at 10:15 am
Viewing 15 posts - 3,091 through 3,105 (of 13,461 total)