Viewing 15 posts - 31 through 45 (of 85 total)
Or a Synonym https://technet.microsoft.com/en-us/library/ms190626(v=sql.105).aspx
June 13, 2016 at 4:08 am
I can't test because I don't have your tmpaccthist_2013_2014_report_2 table or fn_split
BUT don't you have to declare @crpt_NotaPenyataKewangan_12_Vertical_1 as being a SearchTableType e.g.
Declare @crpt_NotaPenyataKewangan_12_Vertical_1 SearchTableType
You've declared it...
June 12, 2016 at 11:19 am
I suppose you have 3 approaches
1. Continue with your current solution. Write the table out manually (It's 100 views so, yes, it's boring and liable to mistakes but...
June 12, 2016 at 9:41 am
The reason you get three tables with the same name is that the cursor loops 3 times and overwrites the change from the previous loop.
You can fix that by putting...
June 12, 2016 at 7:31 am
This is ePolicy Orchestrator, right? If you have a support contract, I think you should make a call.
If your database is out of space through normal day-to-day usage,...
June 8, 2016 at 9:00 am
Post the query plan (Actual) please. We don't know what your data looks like so we don't know what indexes will be used.
Also I notice there's no 'ORDER BY'...
June 7, 2016 at 6:47 am
Shouldn't be happening.
Are you using the same database?
I notice that you use schema [dbo] for one table and not for the other - is that a factor?
June 1, 2016 at 5:33 am
FREETEXT searches are all about meaning, so SQL Server looks in the thesaurus to find matching words. If you edit the thesaurus so that 'Projectnummer' is a synonym for...
May 25, 2016 at 1:43 pm
Was it the sp_RebuildIndexes script? That's posted on a few places on the net.
Many people use this
https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html
May 25, 2016 at 8:38 am
You'll have to access the Extended File Properties of the file but I don't think you can do it with TSQL. The Extended Properties vary according to the type...
May 25, 2016 at 8:12 am
I hope this doesn't come over as rude but how is your sql? Most of the logic is there and I pointed you at the condition which was stopping...
May 23, 2016 at 4:44 pm
That seems over-complicated.
Have you tried
ALTER TABLE tablename REBUILD ?
May 23, 2016 at 9:39 am
ok, thanks for the additional info.
Can you tell me a little bit about your tables, are they heaps? Do you have clustered and/or non-clustered indexes on your tables?
Can you...
May 20, 2016 at 4:43 am
Look at the condition 'AND s.freq_type in (4, 8) --- means Daily'.
If [freq_type] in msdb.dbo.sysschedules is 1, the [active_start_date]
and [active_start_time] give the details.
May 19, 2016 at 8:44 am
Taking a step back, what problem are you trying to solve? You say you have fragmentation caused by deleting rows so are your indexes performing poorly? or is it...
May 19, 2016 at 7:59 am
Viewing 15 posts - 31 through 45 (of 85 total)