Viewing 15 posts - 301 through 315 (of 334 total)
This part is Dynamic SQL:
Select @sql = "Update " + @Tablename + " Set LastNumber ="
+ Cast(@LastNumber as varchar(10)) +
" Where CODE ='" + @secondType +...
March 1, 2004 at 5:08 am
Or... If you do this on a regular basis and don't want to keep having to remember the FLOOR(CONVERT(FLOAT,var)) syntax you can write a...
February 25, 2004 at 6:17 am
Make sure you close all result sets and your connection and that you destroy the object after closing it:
These are the...
February 20, 2004 at 4:55 am
I answered my own question. I found the following while searching on Google:
http://support.microsoft.com/?kbid=247527
I used the following from that article and it fixed the...
February 13, 2004 at 7:16 am
Also, delete a bunch of the columns to the right of your data. Someone may have used a column to the right temporarily and then cleared the data, but Excel still lists...
February 11, 2004 at 4:42 am
Converting a string date to datetime format always yields a datetime field where the time portion is '00:00:00.000'. If your ReportedDate field on the database contains full date/time values (i.e....
February 10, 2004 at 4:55 am
That trick works because it causes all the rows in the table to be read. "Firehose" mode is in play in EM when you have more rows in the table...
February 9, 2004 at 10:20 am
Are you running IIS? When you bought IIS did MS include a free tool for development of web pages? I think not. Have you ever written or updated HTML in Notepad? I...
February 2, 2004 at 6:01 am
You don't want to buy VS.Net? Have you priced Crystal Reports Developer lately? And that doesn't include the Crystal Reports Enterprise Server if you want to have automated scheduling and...
January 28, 2004 at 4:49 am
Set rstLocations.ActiveConnection = Nothing
conn.Close
I believe you have to reverse the above statements. You close the connection THEN destroy it. I'm not sure what the effect is of trying...
January 27, 2004 at 4:42 am
You know, he's right. The ASP is all server-side. If the concern is that the SQL connection userid and password is being sent...
January 26, 2004 at 4:41 am
Interesting idea Tobie, but it wouldn't really work in my particular situation. I have a package that has a workflow like A->B->C->D->E. At step C I want to look at...
January 23, 2004 at 12:03 pm
Unfortunately the keepers of the web world at our company do not allow application-specific DLL's.
January 23, 2004 at 9:02 am
Also, don't use a UDF to convert dates to YYYYMMDD, just CONVERT(char(8),YourDate,112). The native function (and implicit conversion if the result is going into an int column)...
January 23, 2004 at 7:00 am
Also, I'm not sure if the Bulk Insert task automatically sets the database into Bulk-Logged recovery mode, but if not you need to do that else you are logging every...
January 23, 2004 at 5:11 am
Viewing 15 posts - 301 through 315 (of 334 total)