Viewing 15 posts - 5,266 through 5,280 (of 13,465 total)
the trick is you are missing a couple of tables, i bet.
you have to get all possible combinations before you join for the totals.
you have to select from something like...
July 3, 2012 at 1:52 pm
Kwisatz78 (7/3/2012)
Correct he was saying he couldn't see the list of tables in SSMS. I will run the script tomorrow when I get back to work 🙂
it's really easy...
July 3, 2012 at 1:41 pm
to capture the results form a stored procedure, the table must exist, with all the columns defined;
then you can do something like this:
IF NOT EXISTS (SELECT * FROM...
July 3, 2012 at 10:45 am
well an identity will easily fix the contention issue, so if you arbitrarily eliminate that possibility, i'm not sure what you can do.
lfcost (7/3/2012)
July 3, 2012 at 10:01 am
here's a link to the US Census data that has a list of the miost frequently occuring male firstnames, female first names, and lastnames.
a cross join of all that data...
July 3, 2012 at 7:08 am
Tobar take a look at this thread, or search for "sp_UGLYSEARCH" (with quotes)
http://www.sqlservercentral.com/Forums/Topic1221552-1292-1.aspx
that's a proc i wrote to do exactly what you are asking: find specific values in a database,...
July 3, 2012 at 6:58 am
I agreen with mohammed moinudheen ;
there is no shortcut for this; knowing how to use the CREATE TABLE command is one of the first steps you need to know ...
July 3, 2012 at 6:52 am
definitely you'll need to use the Oracle driver, and not the microsoft driver;
besides there not being a 64 bit version of the MSDAORA driver, there are a few other issues...
July 3, 2012 at 6:16 am
the way i've always tackled this situation is to go ahead and have an identity column, and then a persisted calculated column to create teh text-based userid;
For example, Invoices:...
July 3, 2012 at 5:40 am
maybe you just need help constructing the WHERe clause?
SELECT
M.SomeData
FROM MyTableInsert M
WHERE @SomeData <> 1
so the above, isntead of returning zero, will return an empty...
July 3, 2012 at 5:25 am
you are correct.
a SQL admin has access to all the data, so unless the data is encrypted at the column level, the admins have access to it.
even then, if the...
July 3, 2012 at 5:14 am
Excellent contribution Dwain; I added this to my toolbox!
July 3, 2012 at 5:08 am
here's my version, but i was assuming you wanted to cop off the last period and whatever was to the right of it:
I left a lot of intermediate calculations to...
July 2, 2012 at 3:14 pm
ok kewl;
i found a pdf at the microsoft site:
http://www.microsoft.com/en-us/download/details.aspx?id=9483
inside that pdf , way down on page 65, it has a bunch of mapping details, with the datetime stuff starting on...
July 2, 2012 at 2:56 pm
Oracle TIMESTAMP can be a maximum of datetime to 9 decimal places;
so depending on your needs, you could go with datetime (which is to 3 decimal places) or datetime2 if...
July 2, 2012 at 2:48 pm
Viewing 15 posts - 5,266 through 5,280 (of 13,465 total)