Viewing 15 posts - 781 through 795 (of 14,953 total)
Well, without using any arabic numerals, you could also do:
SELECT PI()/PI();
But those are "numbers", without being "digits", so it's probably not acceptable.
September 20, 2012 at 12:53 pm
What name/address are you using in the connection string? "localhost" or "(local)" or "SQL 2012" or something else?
September 20, 2012 at 12:39 pm
CELKO (9/20/2012)
don't think you'll scare him. Maybe offend, but not scare. He comes across as one of those borderline sociopathy cases that have very thin skin, but assume everyone...
September 20, 2012 at 12:35 pm
vax09 (9/20/2012)
For this querySELECT CAST(634 AS VARCHAR(2))
why it display * in result
String truncation.
September 20, 2012 at 11:00 am
Is it on a different network, or different subnet? Try pinging the IP address you are using, from the server that can't connect. See if you get a...
September 20, 2012 at 10:59 am
All the data on how mirroring works in SQL Server can be found here: http://msdn.microsoft.com/en-us/library/ms189852.aspx
September 20, 2012 at 10:57 am
There are tables in msdb that record what backups were done, where to (disk path, tape location, network path), what type, when they were done, and what was backed up.
Details...
September 20, 2012 at 10:56 am
I use a calendar table for that kind of thing.
Create a table of all dates for the year (or decade, whatever length seems appropriate). Mark the ones that are...
September 20, 2012 at 8:23 am
SQL Server Central has a "cousin-site" (not quite as close as a sister site, but still pretty close) at http://www.simple-talk.com. Both sites are owned by RedGate. Simple-Talk has...
September 20, 2012 at 8:19 am
Do you get an error message when you try to connect?
September 20, 2012 at 8:16 am
I've been using the book metaphore for over a decade, and it works so long as you actually have a book to show them with. I run into people...
September 20, 2012 at 8:14 am
Not sure what you mean by "static" vs "hard coded".
I use nested DateAdd and DateDiff functions to get last and first days of various time periods. For example, find...
September 20, 2012 at 8:12 am
Of course, another possibility is that it wasn't an interview question at all. Possible that the manager who asked it was hoping for some free consulting from you, and...
September 20, 2012 at 8:04 am
dwain.c (9/20/2012)
GSquared (9/19/2012)
Phil Parkin (9/19/2012)
You need to code an OUTPUT clause and use...
September 20, 2012 at 6:07 am
Phil Parkin (9/19/2012)
You need to code an OUTPUT clause and use $Action to...
September 19, 2012 at 11:25 am
Viewing 15 posts - 781 through 795 (of 14,953 total)