Viewing 15 posts - 6,346 through 6,360 (of 13,460 total)
only if you can put a UNIQUE constraint on that one column of the primary key;
a foreign key (REFERENCES) can only point to a PK or UQ.
Lowell
November 23, 2011 at 10:51 am
I've been using this to generate the 2008 style alter commands, instead of the deprecated? sp_change_whatever
--USE HDSTEST1100;ALTER USER [hds] WITH LOGIN = [HDS];
SELECT
CASE
...
Lowell
November 23, 2011 at 8:20 am
memymasta (11/23/2011)
Lowell (11/23/2011)
Your example involving user and Education tables is really at odds with an email campaign.
here's a rough example i just sketched out that woudl use a cursor to...
Lowell
November 23, 2011 at 7:01 am
the SQL browser service needs to be running, otherwise you'll have to "know" the machine name and instance name if it is a named instance...
try any of these variations
...
Lowell
November 23, 2011 at 6:11 am
i know it's not much help, but that error number is an automation error..implying the DLL being called either does not exist or is not registered.
http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/7c5c16d7-4029-4b6f-9a29-55a1c27718b5/
it kind of make ssense...
Lowell
November 23, 2011 at 6:04 am
crazy4sql (11/23/2011)
Easiest :-Create a group and give required permission.
Add users A,B..............................Z to this group.
Easy to manage, Easy to configure security, easy to remove.
exactly...when UserA or UserB get fired or move...
Lowell
November 23, 2011 at 5:59 am
memymasta (11/23/2011)
Lowell
November 23, 2011 at 5:53 am
Stefan Krzywicki (11/22/2011)
Lowell
November 22, 2011 at 1:57 pm
you probvably need to add more columns to the sample data;
then you could use something like rownumber;
here's a rough guess to get us started:
SELECT * FROM (
SELECT
row_number() over(PARTITION BY...
Lowell
November 22, 2011 at 1:21 pm
a CTE of the posted data:
WITH MySampleData(acd,R,drv,P,Led,LoadTime,RankingAndGrouping)
AS
(
SELECT 199,183,9,0,1,00:00:53.1540000,1 UNION ALL
SELECT 199,225,9,0,2,00:00:47.9960000,2 UNION ALL
SELECT 199,267,9,0,3,00:00:47.8770000,3 UNION ALL
SELECT 199,309,9,1,4,00:00:47.9990000,0 UNION ALL
SELECT 199,350,9,0,5,00:00:48.0960000,1 UNION ALL
SELECT 199,394,9,0,6,00:00:48.5890000,2 UNION ALL
SELECT 199,437,9,0,7,00:00:48.2370000,3 UNION ALL
SELECT 199,479,9,0,8,00:00:48.6120000,4 UNION...
Lowell
November 22, 2011 at 1:16 pm
best guess:
SELECT .id,
.firstname,
[EDUCATION].school
FROM
LEFT OUTER JOIN [EDUCATION]
...
Lowell
November 22, 2011 at 8:12 am
Ninja's_RGR'us (11/22/2011)
Yes we do, but a smiley face goes a long way to make that clear on a forum where we don't see your face nor tone of voice.
how much...
Lowell
November 22, 2011 at 8:03 am
removing insignificant digits in an export is normal (3.00 is exactly the same as 3), since the assumption is, if you import "3" into a money datatype, it will be...
Lowell
November 22, 2011 at 8:01 am
mnut (11/22/2011)
Hi Lowell,I was hoping to do this in actually in SSRS expression builder. Is this not possible?
Mike
of course; the math is the same...integer math or modulus;
something like
CINT(Field!Value /...
Lowell
November 22, 2011 at 7:12 am
try connecting via the Dedicated Admin Connection:
http://msdn.microsoft.com/en-us/library/ms189595.aspx
I believe all objects are decrypted for you when connecting via the DAC
Lowell
November 22, 2011 at 6:42 am
Viewing 15 posts - 6,346 through 6,360 (of 13,460 total)