Viewing 15 posts - 286 through 300 (of 663 total)
Try an add the S paramter for the SQL Server.
Mine worked with
OSQL /i c:\xml.sql /o aa.xml -SLENE -E -w10000
July 31, 2003 at 9:33 pm
Using proportional of fixed spaced fonts when displaying the text files
Maybe try Courier, even in Notepad.exe
July 31, 2003 at 7:27 pm
Agree EXISTS is supposedly to be faster!
I just return '1' versus (* or a column).
If Exists (Select '1' from Table where Col = @xxx)
Update
Else
Insert
July 31, 2003 at 6:40 pm
http://www.15seconds.com/issue/011106.htm
There is a better example of reading SQL batches from files and applying through OSQL, using the vbscript / FileSystemObject. Cannot find it!. Will have a look again over the...
July 31, 2003 at 6:35 pm
Another try at a solution!
Declare @start DateTime,@end DateTime, @month DateTime
Set @month='2 jan 2002'
Set @start= Convert(Char(8),@Month,120)+'1'
Set @end= DateAdd(ms,-3,DateAdd(m,1,@start))
Select Convert(char(11),EventDate,106),Count(*)
From MyTable
Where EventDate Between @start and @end
Group by Convert(char(11),EventDate,106)
Order by Convert(char(11),EventDate,106)
Try and add...
July 31, 2003 at 3:33 pm
Also using the route / method RonKyle is refering to.
July 31, 2003 at 2:57 pm
INSERT INTO RMAItems
(item_num, order_num, line_item_num, item_desc, ship_to, vend_num, numToReplace, F3RMANum,
vend_bill_to, product_num, unit_price_billed, cost_atbill)
VALUES ( 231367, 27690, 4, 'SSSI-3/SCSI-3 CABLE MICRO DB68M - 6" W/T''S', 14800, 652, 1, 2654,...
July 30, 2003 at 7:40 pm
BOL 2000 :
There are no separate time and date data types for storing only times or only dates. If only a time is specified when setting a datetime or smalldatetime...
July 30, 2003 at 4:11 pm
Can you post a small example
I try limit apply the filter as close to the source of the data as possible. Example in the ON clause rather...
July 29, 2003 at 9:28 pm
Check for recompiles on sp.
"We" always drop temp tables explicitly.
If it is recompiles have a look at http://www.databasejournal.com/features/mssql/article.php/2218451
July 29, 2003 at 4:56 pm
Declare @d Datetime
Set dateformat mdy
Select @d='7/29/2003 8:02:22 AM '
Select @d
SELECT SUBSTRING(replace(replace(replace(convert(varchar,@d,120),'-',''),' ',''),':',''),1,14)
...
July 29, 2003 at 2:41 pm
JPipes and Scott Coleman excellent discussion. Similar problems with a web app but with lots of summations and filters.
July 29, 2003 at 2:28 pm
Just for interest sake from BOL 2000 :
DECIMAL AND NUMERIC
PrecisionStorage bytes
1 - 95
10-199
20-2813
29-3817
FLOAT AND REAL
n isPrecisionStorage size
1-247 digits4 bytes
25-5315 digits8 bytes
July 28, 2003 at 11:15 pm
Viewing 15 posts - 286 through 300 (of 663 total)