Viewing 15 posts - 47,596 through 47,610 (of 49,571 total)
Balaji (1/26/2008)
I dont think 1=1 is necessary in where criteria. is it affect performance?
Not necessary at all. It shouldn't affect performance. The optimiser should be smart enough to ignore it....
January 27, 2008 at 10:59 am
JMSM (1/27/2008)
People who works here tell me that they dettach the database where this query is...
January 27, 2008 at 10:56 am
You said you were going to store it as a numeric and do all the manipulations and editing in the front end. Do the same, just have it as a...
January 27, 2008 at 5:58 am
Ok, so you have no indexes other than the primary keys (from the code you posted). Is that correct?
I'm just guessing without knowing the rows involved, but perhaps indexes on...
January 27, 2008 at 5:52 am
David Lester (1/25/2008)
Before I started working here, it never crossed my mind that being "invaluable" to a job was a bad thing.
That's one thing I learnt years ago. Becoming invaluable...
January 27, 2008 at 5:45 am
Could you please post table schema, sample data and desired results.
Please see the following article - http://www.sqlservercentral.com/articles/Best+Practices/61537/
January 27, 2008 at 5:02 am
Almost. I would suggest you leave the datetime as a datetime in SQL. That way you can use all the date time functions and you don't need to worry about...
January 27, 2008 at 5:01 am
In that case, I would suggest the following.
When the new file is spotted, import that file (bcp or Bulk insert) into a staging table. Then do joins between that staging...
January 27, 2008 at 2:54 am
In SQL a short date time is a date and a time. SQL tables have no concept of formats.
My access is rather rusty, but maybe you could link the table...
January 27, 2008 at 2:40 am
Cross post. Replies to the following thread please - Managing Hours and minutes (MS Access)
January 27, 2008 at 2:38 am
That's gonna really hurt, especially if there's no index. Are there other indexes on the table, other than the primary key? If so, on what columns
Where are you getting the...
January 26, 2008 at 11:34 am
The Insert into ... select is what you need. There's no problems with including variables or constants in the select clause of a select statement.
Insert into TheTBL (ColumnList)
SELECT M.Email, @msg...
January 26, 2008 at 11:29 am
virgilash (1/25/2008)
Ofcourse it is .. otherwise I would be fired ... ๐
Had to ask. You'll be amazed how often the simplest possible explanation to a problem is the correct one....
January 25, 2008 at 2:00 pm
If you add all the columns listed in the group by to the select, what's the result set?
Basically, there's something in the group by that shouldn't be there for the...
January 25, 2008 at 1:57 pm
Viewing 15 posts - 47,596 through 47,610 (of 49,571 total)