Viewing 15 posts - 9,571 through 9,585 (of 13,469 total)
the script you pasted, assuming a missing closing-parenthesis, makes [IsRegistered] the table's primary key; was that the desired results? was there something missing like a comma and the rest of...
April 30, 2010 at 5:06 pm
not directly from MS, no table level backups.
I believe some of the RedGate stuff does it, and i know you can script out the table and the data right from...
April 30, 2010 at 4:55 pm
David Portas (4/30/2010)
Why would you do that? Use one table with a month number column and you won't have to use dynamic SQL at all.
excellent point, David. sometimes you need...
April 30, 2010 at 12:29 pm
Danny i think this is just a basic syntax issue;
if you are building a string that ahs a single quote in it, two single quotes in a row signify the...
April 30, 2010 at 11:56 am
replication does not require a constant connection; merge replication, for example, would stack up untill it got PULLED; log shipping would be up to the other end to grab...
April 30, 2010 at 11:52 am
I want to replace 2 and 4 with 5 and 6.
--edited and removed when i found out it was homework.
For homework, me pasting a solution helps noone; you never learn...
April 30, 2010 at 11:45 am
even with the maximum compression settings a backup file that compresses to 200meg might go to 189meg with higher compression; there is no miracle compression that will shrink a gig...
April 30, 2010 at 11:28 am
what would the function do with the values if it got them? you might be looking at a problem head on, when a sideways look might present a better solution.
what...
April 30, 2010 at 11:19 am
chaturvedi.garima (4/30/2010)
The variable is initialized in a stored procedure with the value present in a table.
It is disappearing at later point of time.The data type of variable is Char.
Tried to...
April 30, 2010 at 11:15 am
show us the function dbo.GetNextID()
we canhelp you turn it into an inline tablevalue function which can be used for multiple rows;
your syntax for usage would change only slightly:
INSERT INTO destination_table
...
April 30, 2010 at 11:11 am
I can think of two ways to do this;
first, lets think it thru: you can find a group of chips that have been salted, right?
--chips that had salt
select distinct chips...
April 30, 2010 at 11:03 am
gotcha;
I worked around the issue by combining the two triggers into one.
my logic is on insert, the external id is ALWAYS the Identity ID; you can change it later.
this does...
April 30, 2010 at 8:26 am
George Murphy (4/30/2010)
April 30, 2010 at 7:38 am
instead of using SCOPE_IDENTITY, it's usually recommended to use the OUTPUT clause to get the values inserted;
the advantage is similar to how you have to construct a TRIGGER: often times...
April 30, 2010 at 7:31 am
i think it's due to the query; do a select * from sysusers in any database. there's no Builtin\Administrators in that list.
the query is not showing implicit users who have...
April 30, 2010 at 6:33 am
Viewing 15 posts - 9,571 through 9,585 (of 13,469 total)