Viewing 15 posts - 48,451 through 48,465 (of 59,065 total)
Actually, using TOP 1 may b the worst suggestion... you don't care which value you get from the respective tables?
September 1, 2008 at 8:09 pm
rohanverma (9/1/2008)
declare @filename char(40);
set @filename = 'File1.txt'
declare @dir char(30);
set @dir = 'C:\Misc';
set @openrow1 = 'Driver={Microsoft Text Driver (*.txt; *.csv)}; DefaultDir=' + @dir + ';';
set...
September 1, 2008 at 8:07 pm
mstjean (8/28/2008)
September 1, 2008 at 7:52 pm
The problem is that you've reached the undefined but omnipotent "tipping point". Try updating just a million rows and see how long (short) it takes. You'll need to...
September 1, 2008 at 7:46 pm
Heh... yeah... GO for it! 😛
No explanation should be necessary... try executing parts of it yourself... lookup GO in Books Online to see what its correct and only format is....
September 1, 2008 at 7:43 pm
You're using "bulkcopy" to do the inserts for "connections"? That's a new one on me. You're gonna have to show me that one. 🙂
The key is likely going...
September 1, 2008 at 7:34 pm
When is the last time you did any maintenance on the indexes of the table?
September 1, 2008 at 7:27 pm
Khalidhussain (9/24/2003)
September 1, 2008 at 7:24 pm
G.R.Preethiviraj Kulasingham (9/25/2003)
I'll be happy if my scripts are usefull
Please check
http://www.sqlservercentral.com/scripts/listscriptsbyauthor.asp?author=1771
There are many wonderfull tools available in the market....
September 1, 2008 at 7:21 pm
So... what "destination" did you have in mind? If it's SQL Server, lookup the "-n" parameter of BCP in Books Online which says...
-n
Performs the bulk copy operation using the...
September 1, 2008 at 7:20 pm
thatok (9/1/2008)
I have a table IRchair which has columns staffno and clusterid. I am going to add to this table a clumn named period. So I need to bring...
September 1, 2008 at 6:58 pm
rosh (9/1/2008)
Is there any reason for storing data in this manner in the table?
Heh... yep... someone doesn't have a good split function or didn't know how to do a crosstab...
September 1, 2008 at 6:55 pm
iam777here4u (9/1/2008)
The problem is, I am using a UDF. I have to use UDF only no store procedures.
Why not?
The problem is that this can't be done in a UDF because...
September 1, 2008 at 6:50 pm
Select the count from both and see if they're equal?
September 1, 2008 at 6:49 pm
Yes... there are a thousand reasons why this may happen...
1. Code to set the flag to 1 didn't work correctly.
2. Code to reset the flag to 0...
September 1, 2008 at 6:47 pm
Viewing 15 posts - 48,451 through 48,465 (of 59,065 total)