Viewing 15 posts - 50,941 through 50,955 (of 59,078 total)
As with so many types of testing, you must also test your "made up" questions as well. This question actually has two correct answers... made up or not... 😉
April 26, 2008 at 12:09 pm
It orders by data_id assuming that you want to know the next one. Your example data was not in order by data_id, but I think you may have meant...
April 26, 2008 at 11:45 am
Lynn (4/24/2008)
I can't put these tables in a separate db because the application will break.
Oh, yes you can... put the tables in a different DB and either make "surrogate views"...
April 26, 2008 at 11:31 am
Just alter the table to add the ID column making sure that it has the IDENTITY property included.
April 26, 2008 at 11:28 am
The first 3 things I'd do is...
1. Update to sp2 and apply the latest cumulitive update (#7, I believe).
2. Turn off autoshrink. If it keeps growing, it's...
April 26, 2008 at 11:27 am
Thanks for the feedback, Gene, and good luck on your efforts! Let us know if anything comes up... maybe give us some feedback on what you ended up doing....
April 26, 2008 at 11:08 am
You've summarized the soft skills very nicely, Tony. And, I absolutely agree, David Poole's well thought out statement of "if people will voluntarily use you as the first point...
April 26, 2008 at 10:49 am
intvfan (4/26/2008)
I would love to BULK load. Do you bulk...
April 26, 2008 at 9:12 am
You don't need to worry about DateFirst with the following...
[font="Courier New"] SELECT LEFT(DATENAME(dw,GETDATE()),3)
+ ', ' + CONVERT(VARCHAR,GETDATE(),106)[/font]
April 25, 2008 at 8:41 pm
Have you got a server called "FindUsers"??? That's where the error is on my machine...
April 25, 2008 at 8:36 pm
Sounds like someone changed a role or reassigned a role. Maybe even changed to Windows Authentication without doing the necessary work to keep privs.
April 25, 2008 at 8:25 pm
I import all columns as VARCHAR and evaluate from there. You should only import to a staging table... there you can make such decisions before transferring to the final...
April 25, 2008 at 8:22 pm
Matt Miller (4/25/2008)
Jeff - that last code nulls out the 0's in the 3rd column - is it supposed to?
Nah... I screwed up.
The real key to this whole thing is...
April 25, 2008 at 8:17 pm
Seggerman (4/25/2008)
I may be a newbie at SQL Server but in computer programming for over 3 decades
my current...
April 25, 2008 at 8:00 pm
rbarryyoung (4/16/2008)
I am confused. Why isn't robert's answer sufficient?
I agree... why is everyone still looking for an aggegate function and passing columns of data when Robert's very simple formula...
April 25, 2008 at 7:42 pm
Viewing 15 posts - 50,941 through 50,955 (of 59,078 total)