Viewing 15 posts - 76 through 90 (of 254 total)
If you want to find out which databases are not used at THE CURRENT MOMENT use this query, since this is 2005 forum I wrote and tested against 2005, but...
October 25, 2007 at 10:55 am
I have to explain why we have such problems.
In our legacy application there were 4 lines for notes each by 80 chars, so there were 4 notes columns in...
October 24, 2007 at 1:23 pm
I am actually using temp table, but I thought that CTE would offer more elegant solution.
September 26, 2007 at 1:56 pm
Hi Jason, I understand what you mean. You append summary to the last column and it repeats itself as many times as many are records there.
Here I reproduce final...
September 26, 2007 at 12:41 pm
Hi Noel,
While your solution looks interesting, I copied it but I still get only one result set, while I need both.
If I try to add select * from problem...
September 26, 2007 at 12:15 pm
Yes bcp logs transactions (as long as the recovery model is full), but in my tests bcp was about 3 times faster then DTS/SSIS.
September 21, 2007 at 11:30 am
There is huge number of SQL Server 2005 books printed to day, probably about 100. Come to any Barnes and Noble or Borders store and check some books, you will...
September 21, 2007 at 11:22 am
I guess you need something like this:
Select
Prod_No,
Prod_Desc
from Products
where Prod_Category_No in (001, 303, 244)
September 19, 2007 at 1:27 pm
Besides, if you disable indexes prior to loading and then rebuild them, I would suggest to drop them and create anew.
September 19, 2007 at 1:24 pm
In SQL Server you can do nothing to improve performance. Even if you create index on Designation column query optimizer will not pick it because you have leading % wildcard.
However...
September 19, 2007 at 1:16 pm
1. You are etrying to assign 2 values (f.FolderPath, d.DocumentID) while you need only the first one.
2. Correlated sub-query is written incorrect
Try to do this:
select FolderPath
from xsdl_Folder f
where exists(
...
September 19, 2007 at 10:11 am
You can use simple left function:
select name=left(name, 30)
from sysfiles
Just make sure that the longest file name is smaller than this number.
It is sometimes inconvenient when SSMS allocates 255 character...
September 14, 2007 at 4:04 pm
Maybe he has already forgotten about this posting due to some other urgent projects or he already resolved this, but we keep wrangling...
September 12, 2007 at 1:07 pm
I actually expected a reply with CLR, I tried to avoid this because I have no experience with it. We have some people who are familiar with C# or VB.net,...
September 6, 2007 at 8:48 am
Viewing 15 posts - 76 through 90 (of 254 total)