Viewing 15 posts - 2,281 through 2,295 (of 7,429 total)
Please do not duplicate post. Go back and edit when you run into an issue such as the contiuoius string.
See/Leave replies in http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=102401
February 25, 2004 at 3:00 pm
No but you could force the time to midnight for all by doing
DATEADD(d,DATEDIFF(d,0,[value/column/getdate()]),0)
So doing
DATEADD(d,DATEDIFF(d,0,getdate()),0)
will give you current day but time will be midnight.
February 25, 2004 at 12:19 pm
It depends on what the query engine decides. If it may be lengthy and not fit in memory it will write out to a tabl in TempDB. If it can...
February 25, 2004 at 7:57 am
First adUseClient offloads all the recordset to the memory of the calling application location (in the case of IIS it is the IIS server).
adUseServer retains much of the recordset in...
February 25, 2004 at 7:21 am
Persoanlly I think it is more of a control issue. By using SPs the DBA potientially takes there hand out of the pie and they don't like it.
February 25, 2004 at 7:10 am
It does indeed but many view that as a plus since novice users have more empowerment at this and should mean that developement groups can do more use the WYSIWYG...
February 25, 2004 at 5:49 am
My understanding is it is the default value constraint of a column. The only thing is that DRIDefault is the object parameter itself for DMO programming. Such as CursorType is...
February 25, 2004 at 5:46 am
I have not seen nor heard of any age requirement. If you can pay for the test you can take it is all I know of.
February 25, 2004 at 5:42 am
The problem here
DECLARE @status AS VARCHAR(20)
SET @status = char(39) + 'ER' + char(39) +', ' + char(39) + 'OK' + char(39)
/*@Status = 'ER', 'OK' */
SELECT * FROM TABLEA WHERE TABLEA.Status IN...
February 25, 2004 at 5:41 am
Three things to add to that article.
1. States "(and of course, if this is all you're doing, then don't forget the 5th/6th lines of code -- CLOSE the connection and...
February 25, 2004 at 5:33 am
The one without time is midnight. To do the same on the other join like so
ON
tbl1.dtfield = dateadd(d,datediff(d,0,tbl2.dtfield),0)
this assumes tbl2 is the one with time. It strips to midnight and...
February 24, 2004 at 7:43 pm
First a simple demonstration of SP security versus inline method should help.
Inline
-------------------------------
Create table with several data elements
Create a user
Give that user read/write access to the table created
Change the data in...
February 24, 2004 at 6:46 pm
What happens with the backup. Are you wanting to keep all your data or just prior days?
If that then consider creating a backup table and do something like so.
BEGIN TRANS
TRUNCATE...
February 24, 2004 at 6:19 pm
The contiguousness of the data file itself can speed things up dramatically or not much at all. The higher the fragmentation the longer it will take for the OS to...
February 24, 2004 at 5:30 am
Viewing 15 posts - 2,281 through 2,295 (of 7,429 total)