Viewing 15 posts - 5,491 through 5,505 (of 13,460 total)
in a similar situation, i've used a function dbo.StripNonNumeric, which leaves just the string 0-9, which i could convert to an integer;
then i could do
ORDER BY
CONVERT(int,dbo.StripNonNumeric(SomeColumn)),,
SomeColumn
As long as you understand...
Lowell
May 15, 2012 at 10:24 am
for testing backup validity, i would think the Developer version (~$50 dollars on Amazon) is ideal; it has all the abilities of the Enterprise version, but is for testing and...
Lowell
May 15, 2012 at 9:52 am
access denied is due to the account running SQL server.
To access anything outside of actual databases, SQL uses a different account than you might think it should.
you will probably want...
Lowell
May 15, 2012 at 8:38 am
pwalter83 (5/15/2012)
george sibbald (5/15/2012)
does the object exist on both servers? Is the owner of the object the same on both servers?
As far as I know, the login name on both...
Lowell
May 15, 2012 at 8:06 am
there's an extended stored procedure to help you with that situation.
you can use it to query an iindividual's domain login, or a group from the domain:
try these out and see...
Lowell
May 14, 2012 at 2:50 pm
Only way i see getting those totals would be by using Change data cature on those tables in question.
Then you can query the cdc schema rltables for the counts
Lowell
May 12, 2012 at 4:26 pm
One example i can think of when see that behavior if you ALTER TABLE , and then insert into the table while referencing the new row; to get it...
Lowell
May 11, 2012 at 1:32 pm
SQL formatting is important for me, and i tested the RedGate tools, which are really nice, but they were more than I wanted to spend.
I ended up purchasing "SQL Pretty...
Lowell
May 11, 2012 at 11:12 am
others will certainly do it differently than I do, but I have three different tables for accomplishing Tally-related objectives:
Tally, which starts with 1,
TallyCalendar, which is all date related.
and Numbers, which...
Lowell
May 11, 2012 at 11:04 am
if it helps, i usually create this temp table, and then insert multiples into it via the script below:
i don't keep track of the specific file the way Bhuvnesh ...
Lowell
May 11, 2012 at 10:11 am
i see it does fail if your DATEFORAMT is DMY and not MDY: i get the same error you got when i explicitly set my dateformat:
(/12//16/11 causes the error: no...
Lowell
May 10, 2012 at 9:51 am
ndevr (5/10/2012)
I have to check in all the servers, whether Database mail is configured or not ,if not i have to setup the mail, what are the pre requisites...
Lowell
May 10, 2012 at 9:49 am
In addition to what Elliot said, some of the events in your trace will not return all columns;
if you run this query (change the patch to match your path to...
Lowell
May 10, 2012 at 9:06 am
this can help:
Lowell
May 9, 2012 at 1:12 pm
sure, the datediff between getdate and getutcdate will giveyou the current offset; that willl be 4 or 5 depedning on whether daylight savings is in effect or not:
some timezones are...
Lowell
May 9, 2012 at 1:06 pm
Viewing 15 posts - 5,491 through 5,505 (of 13,460 total)