Viewing 15 posts - 9,166 through 9,180 (of 9,399 total)
I should have also mentioned that the throughput of the BULK INSERT cannot even be compared to a row-by-row approach. The BULK INSERT is so much faster that it'll...
June 14, 2013 at 8:51 am
It handles embedded quotes without any problems.
When doing BULK INSERT, I like to use a format file to specify the data source and destination and then direct the BULK INSERT...
June 14, 2013 at 8:48 am
We'd like to move our 2005 instances to 2008, but it's a slow process. Like so many things worth doing, it takes time and effort.
June 14, 2013 at 8:13 am
Lowell (6/14/2013)
Ed Wagner (6/14/2013)
June 14, 2013 at 6:57 am
The database diagram tool in SQL Server can create relationships, which does modify the tables. If you want to create the diagrams for visualization only, I'd also suggest using...
June 14, 2013 at 6:44 am
I don't know if we had the 10% hit problem you're having, but I do remember a 32-bit 2005 instance that kept having log entries saying that it was under...
June 14, 2013 at 6:40 am
I've always done this using a .NET application and found it far easier than trying to force it with T-SQL. The first big hurdle in doing it with T-SQL...
June 14, 2013 at 6:29 am
Could you give us a little more to go on? The DDL to create the table and something about the insert that's taking a lot time would be a...
June 14, 2013 at 6:09 am
It takes time for SQL to run the batch - that's the execution time. It also takes significant time for SSMS to take the execution plan and translate it...
June 13, 2013 at 1:56 pm
Lynn Pettis (6/13/2013)
NJDave (6/13/2013)
Is there anything in the database that...
June 13, 2013 at 1:41 pm
I don't know what to do regarding the database master key for which you don't have the password. I hope someone else does, because I wouldn't mind learning about...
June 13, 2013 at 1:23 pm
That would be the simple and very effective way to handle it. I have some flatfiles that are loaded daily and processed through a stored procedure using BULK INSERT....
June 13, 2013 at 1:10 pm
Whenever I have to import data more than once, I very much prefer to use BULK INSERT. I create the format file in XML, write the SQL to do...
June 13, 2013 at 1:06 pm
Jeff Moden (6/13/2013)
mahavidhya24 (6/12/2013)
Thats not possible to call store procedure inside the function,we can call function with in the store procedure
Oddly enough, they just proved that it was possible if...
June 13, 2013 at 6:49 am
I came up with this.
SELECT
IDIS_ACTV_ID AS ID,
Z.ACTV_HOME_PROPERTY_ID,
ROW_NUMBER() OVER (PARTITION BY ACTV_HOME_PROPERTY_ID ORDER BY (SELECT NULL)) AS BUILDINGID,
Z.ACTNBR,
Z.ACTNAME,
Z.RELATEDYEAR,
Z.IDIS_ACTV_ID,
...
June 13, 2013 at 6:47 am
Viewing 15 posts - 9,166 through 9,180 (of 9,399 total)