Viewing 15 posts - 7,936 through 7,950 (of 14,953 total)
pleasehelpme (11/2/2009)
gilamonster,it's not your business how people like to answer the questions in the interview. Stop whining ok, you are annoying.
Hate to disappoint you, but the ethical standards of people...
November 2, 2009 at 3:02 pm
Are you asking if the database admins should have access to the folders with the SQL executables? Or are you asking about Windows/domain admins?
November 2, 2009 at 2:57 pm
By definition, if you don't supply an Order By clause in a query, SQL isn't obligated to return it in any particular order at all. It will often be...
November 2, 2009 at 2:54 pm
I'll second the motion for a calendar table. Makes all of these things much easier to solve.
Beyond that, why not just add 1 to the day before you run...
November 2, 2009 at 2:51 pm
Is it simple enough XML that you could have a computed column that stored it? Or an indexed view?
November 2, 2009 at 1:20 pm
You can't change settings in a UDF. Will need to be a proc.
November 2, 2009 at 12:29 pm
Take a look at the execution plan. SQL will usually turn a single-value In into an equality test. The only time it doesn't, that I know of, is...
November 2, 2009 at 12:28 pm
Not sure what you mean by "white space" in this context.
If you want to compare the data, RedGate has a tool for that. So does ApexSQL. They both...
November 2, 2009 at 9:24 am
See the thing at the top right corner of this website that says, "a community service from redgate"? Click on that. They're the ones who make SQL Prompt....
November 2, 2009 at 8:44 am
Declare a varchar variable for the recipient e-mail addresses, assign the values to it, use it when calling sp_send_dbmail.
declare @To varchar(max);
select @To = @EmployeeEmail + ';' + @ManagerEmail;
exec msdb..sp_send_dbmail @recipients...
November 2, 2009 at 8:42 am
The logic the old fashioned way is how you're currently doing it, with an ID and a ParentID. It's slower and requires more I/O proportionate to the number of...
November 2, 2009 at 7:08 am
Do you have a Numbers table? (Or Tally table, or whatever else you want to call it.)
If so, then you can use a string parsing query in a cross...
November 2, 2009 at 7:00 am
zeitiadaisy (11/2/2009)
November 2, 2009 at 6:54 am
First, how frequently does this data change? Multiple times per second? Every day? Every week? Every few months? Once a year or less?
If the answer...
October 30, 2009 at 2:09 pm
Viewing 15 posts - 7,936 through 7,950 (of 14,953 total)