Viewing 15 posts - 436 through 450 (of 454 total)
When you pass a table name as an input parameter to dynamic SQL, it is really impossible. It is like to task DBA with find all parameter values ever passed...
May 7, 2009 at 2:10 pm
I have some idea how it could be written, but it's not easy to implement.
To parse each word from definition from sys.sql_modules and loop them against all objects in sys.sysobjects.
The...
May 7, 2009 at 1:16 pm
SQL Server current versions: C++, some tools C#
Old versions: fortran
March 17, 2009 at 11:23 am
I checked BOL, but they don't have examples for it. Only logical_expression.
March 12, 2009 at 3:22 pm
Thanks all.
This is what I do. I put all tables in another (non-prinmary) filegroup. But since I can't put stored procedures there I script them out. All of these objects...
March 10, 2009 at 11:51 am
I DO know all the column in each result set, and I know that they are different. Unfortunately, I also suspected that this is impossible.
February 26, 2009 at 11:51 am
But how I can insert data into my_table in the first place ? Numbers of columns for these result sets are different.
February 26, 2009 at 11:02 am
Thanks, GSquare, I will try this too.
February 4, 2009 at 3:00 pm
The reason for this is we have very complex query with huge Where clause. What I suspect is that SQL Server spends a lot more time to build execution plan...
February 4, 2009 at 2:59 pm
In SSMS/Database/Properties/Filegroups I found my FileGroup, it has 0 under Files column. I pressed Remove button and then OK, but got a message :
Drop failed for FileGroup 'lpad_20090124'. (Microsoft.SqlServer Smo)
Additional...
January 26, 2009 at 9:39 am
select nos, max(date1)
from
(
select nos, date1 from #temp union all
select nos, date2 from #temp union all
select nos, date3 from #temp
)t
group by nos
January 26, 2009 at 8:28 am
But my problem is that I could not find any file for the filegroup in the first place.
January 26, 2009 at 8:22 am
We actually used to have it, David. But there are at least two problems we faced with such kind of allocation.
1. Databases in dev and in prod have the same...
January 20, 2009 at 5:19 pm
Viewing 15 posts - 436 through 450 (of 454 total)