Viewing 15 posts - 4,201 through 4,215 (of 13,463 total)
there's a couple of script contributions:
there's several threads on the same subject as well.
December 20, 2012 at 12:06 pm
garth i could not get a result to work the way you said; we would need something equivilent to this to test with:
With TableA (,col)
AS
(SELECT 1,'1308064*8' UNION ALL
SELECT 2,...
December 20, 2012 at 11:15 am
UPDATE SET [col] = [col]
Seriously? that is the trigger body? updating the column to itself, with referencing the INSERTED virtual table?
Remember we are not in your cube looking...
December 20, 2012 at 6:18 am
Minnu (12/20/2012)
column "Product_Name_Expiry" will be udpated with prouduct_Name : Product_expriry_date.
IDProduct_NameProduct_Expiry_Date ...
December 20, 2012 at 5:51 am
something like this?
note you have to modify the role everytime a proc/function is dropped and created, or new ones added.
CREATE ROLE MyExecProcRole;
CREATE ROLE MyExecFuncRole;
--GRANT EXEC permissions to all SPs and...
December 19, 2012 at 12:47 pm
If the Mayans were so good at predicting the future, wouldn't there still be Mayans left?
December 19, 2012 at 11:18 am
yes exactly...listing the specific columns, which would of course be unique to your table and text files.
for your other question, i don't see any value to fiddling with the data...
December 19, 2012 at 9:27 am
well, one way is to use the delimitedSplit8K function to chop the string into bitesize peices.
from there, you might need to cross apply, modifying the WHERE statement to limit it...
December 19, 2012 at 8:39 am
well it depends on the details Brian;
in situations where the target table does not exactly match the columns (different column order, subset of columns)
you can attack it a different way:...
December 19, 2012 at 8:13 am
BULK INSERT works well, BCP IN,The Import DaTa Wizard or a full blown SSIS package are your options I can think of offhand.
here's a simple example of bulk insert:
CREATE TABLE...
December 19, 2012 at 7:42 am
Minnu (12/19/2012)
Yes,i want to update pre-existing data,
at present trigger is firing for only newly updated or inserted records.
i want Trigger should be fired one time for pre-existing data....
Please help
well, here's...
December 19, 2012 at 7:38 am
Minnu (12/19/2012)
Am having a trigger, which will update a column when insert / update occurs,
for new inserting or updating records trigger is working fine, but
am having a table, which...
December 19, 2012 at 7:18 am
Abrar Ahmad_ (12/18/2012)
That in previous releases i can define shortcut keys for my own purpose...
December 19, 2012 at 4:42 am
neither of those two flags are going to have any significant performance gains:
minimally logged inserts:
grow the files at once:
I'm skipping over the possibility of undersized hardware, memory, or slow disks...
December 18, 2012 at 3:24 pm
Google says it can be found here:
http://adventureworksdw2008.codeplex.com/releases/view/86762
December 18, 2012 at 1:31 pm
Viewing 15 posts - 4,201 through 4,215 (of 13,463 total)