Viewing 15 posts - 4,201 through 4,215 (of 13,460 total)
there's a couple of script contributions:
there's several threads on the same subject as well.
http://www.sqlservercentral.com/search/?q=number+to+words
Lowell
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,...
Lowell
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...
Lowell
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 ...
Lowell
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...
Lowell
December 19, 2012 at 12:47 pm
If the Mayans were so good at predicting the future, wouldn't there still be Mayans left?
Lowell
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...
Lowell
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...
Lowell
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:...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
December 18, 2012 at 3:24 pm
Google says it can be found here:
http://adventureworksdw2008.codeplex.com/releases/view/86762
Lowell
December 18, 2012 at 1:31 pm
Viewing 15 posts - 4,201 through 4,215 (of 13,460 total)