Viewing 15 posts - 1 through 15 (of 18 total)
Ed Wagner (10/23/2014)
You could also use the built-in function @@servername to return the same thing.
SELECT @@SERVERNAME;
This only works if the server is configured correctly. If the hostname has...
October 24, 2014 at 11:41 am
JJ B (4/13/2011)
I like having practical, real-life examples and advice. Much appreciated. Thank you.
I second this. Thank you!
April 18, 2011 at 10:09 am
Oh crap... I 'discovered' STR about a 18 months back and have been using it as LTRIM(STR(n)) for creating strings.
.... well, at least my old...
March 8, 2011 at 10:09 pm
well.... IF I had your tasks, I would look at Redgate's SQL Compare and SQL Data compare. They will easily save you days of work.
www.red-gate.com/products/SQL_Data_Compare/index.htm
www.red-gate.com/products/SQL_Compare/index.htm
Between those...
September 28, 2010 at 3:02 pm
I would also ask for current backup copies of both databases. Then you can install them on your local machine with all the power and authority you need.
September 28, 2010 at 10:56 am
You can also wrap it in a BEGIN TRANSACTION/ROLLBACK TRANSACTION like the following so you can test your script without actually making changes.
(borrowed from WayneS)
BEGIN TRANSACTION
INSERT INTO DME_ITEM (Columns to...
September 28, 2010 at 10:37 am
I have been using the free version of SQL Effects Clarity for years, especially when the databases to compare are on two different servers. They have since changed the...
September 28, 2010 at 10:24 am
after further thought, I don't like my suggestion because it doesn't work with differing lengths of items.
August 11, 2010 at 3:09 pm
dbuendiab (8/11/2010)
Jay Hopping (8/11/2010)
August 11, 2010 at 1:42 pm
oh, I was never pushing xml so much as saying it is possible in 2k. The only point I made about the article was that you could possibly check...
August 11, 2010 at 9:18 am
dbuendiab (8/10/2010)
Hi, Jay:
You're right, I didn't remember OPENXML. Still I would not switch to a XML-formed parameter passing for several reasons - being the main the way users like to...
August 11, 2010 at 7:14 am
dbuendiab (8/10/2010)
jcboyer-1091017 (8/10/2010)
EXEC sp_xml_preparedocument @idoc OUTPUT, @XMLParameters
insert...
August 10, 2010 at 4:26 pm
Personally, I would lean towards a tally table approach, but I can see where the simplicity of this approach would be favorable to some of my non-sql-I-don't-want-to-touch-it-unless-I-have-to developers.
What do...
August 10, 2010 at 12:00 pm
unfortunately, I have both xml and looping to handle this situation. I tend to lean towards the xml because of the flexibility and descriptiveness. The flexibility is that...
August 10, 2010 at 11:35 am
You can always use vbscript to access cdosys and the db. If you can get them to give you a simple queue table, then you can have your 'e-mails'...
March 9, 2010 at 3:09 pm
Viewing 15 posts - 1 through 15 (of 18 total)