Viewing 15 posts - 316 through 330 (of 484 total)
Perhaps you may want to run Profiler and capture the SQL it is generating to see. You should be able to filter in Profiler by something (workstation? application? database? to...
October 26, 2005 at 11:37 am
Must be a slow day for DBA's. All backups have run successfully and no server errors.
October 26, 2005 at 9:39 am
You are not filling in the needed single quotes around the parameters, like:
...RMPM_groupItems.itemType = ''' + @paramCON + ''' UNION ALL SELECT ...
October 26, 2005 at 9:28 am
I don't think there is a limit on the IN clause, but might you be hitting the 8000 char limit on SQL statement?
October 26, 2005 at 9:23 am
Why not just eliminate the temporary table, and export from a query?
Private Sub exportExcelButton_Click()
Dim selectSQL As String selectSQL = "SELECT " Dim tempString As String For Index = 0 To Me.ExportList.ListCount - 1 ...
October 26, 2005 at 9:08 am
I haven't tested, but I would suspect that using this WHERE clause should be faster:
WHERE DateDiff(day, GetDate(), sDate) =1
October 26, 2005 at 8:49 am
A simple example would be:
UPDATE MyTable SET FldA=t2.FldA, FldB = t2.FldB FROM MyTable t1 INNER JOIN WorkTable t2 on t1.PKey = t2.PKey GO
INSERT MyTable (PKey, FldA, FldB) SELECT t2.PKey, t2.FldA, t2.FldB FROM WorkTable t2...
October 26, 2005 at 8:44 am
An (faster, more efficient) alternative is to import the text file into a working table, then use an update query with an inner join to update records that match, and...
October 26, 2005 at 6:31 am
Steve;
Why would guids by themselves cause page splits? I can see that if the table is physically ordered by the guid column, and you basically have random insert order. But...
October 7, 2005 at 3:53 pm
Stephen;
I believe we are saying the same thing. The clustered index should not be the guid column / primary key. I suspect that the author did have that for his...
October 7, 2005 at 6:46 am
I have to disagree with the answer on the question, and the reference article. The given problem with using Guids (increased number of page splits) is occurs only if the...
October 7, 2005 at 6:38 am
How about this MSKB article?
HOW TO: Copy a Picture from a Database Directly to a PictureBox Control with Visual Basic .NET
October 4, 2005 at 9:45 am
You probably do not want "...ServerGroups.Item(1).RegisteredServers...", since you do not know that "TAMPA" will be the first item in the collection. You can use the string value to reference the...
October 4, 2005 at 9:30 am
First, I assume since you said "MemoryStream" you are talking .Net. Yes, you can get a dataset in ADO.Net to get an image datatype and load it into a MemoryStream.
But...
October 4, 2005 at 9:15 am
How are you loading the data into your tables? You probably should be using BCP utility or Bulk Insert.
Additional bulk insert performance enhancements are:
October 4, 2005 at 9:01 am
Viewing 15 posts - 316 through 330 (of 484 total)