Viewing 15 posts - 4,111 through 4,125 (of 13,462 total)
the example you found from simpletalk
http://www.simple-talk.com/code/WinWord/spExportToWord.txt
has nothing to do with mailmerge; it's just an example automating the population of data into a word document;
worse, you didn't modify it...
January 21, 2013 at 8:13 am
I dont believe you can.
You cwn open word and use word to select a datasouece which is on a sql server.
But sql has no way to call word and...
January 19, 2013 at 3:57 am
mrTexasFreedom I'm glad my code helped a bit, but mister magoo really identified the culprit, i think;
some process imported(and maybe still imports) data that should be nvarchar instead of varchar;...
January 18, 2013 at 3:22 pm
Brandie Tarvin (1/18/2013)
All we need is an actual Go Faster flag for the database, and everything will be FINE.
got your fix right here:

January 18, 2013 at 12:21 pm
ok just checking the basics here;
I'm assuming you are reviewing the code in SSMS? by default, to save memory, SSMS limits results to the first 256 characters...have you already changed...
January 18, 2013 at 11:22 am
leela3soft (1/18/2013)
Thank you very for providing the information to identify who modified the SP's & sql objects.
glad this post helped you out!
January 18, 2013 at 10:55 am
or another version: a scalar function that would remove anything that was not A-Z/numeric:
same basic logic, i think:
select
id,
name,
dbo.StripNonAlphaNumeric(name) As Fixed
from my_user_table
If that's cleaning up...
January 18, 2013 at 10:54 am
Ells (1/18/2013)
Its mainly the difference between...
January 18, 2013 at 5:53 am
REVOKE would remove a GRANT from the permissions matrix (if it existed). In my head, i think "UN-GRANT"
DENY would add a new entry to the permissions matrix, and prevent access,...
January 18, 2013 at 5:27 am
i believe there is a bug in the ACE drivers which affects Access but not Excel, even if you've installed the 64 bit versions;
there's a connect item on it with...
January 17, 2013 at 2:47 pm
SQL2012/2008R2/2008 Express is free, allows a database of 10 gig, and is much much easier to use than CE;
CE is a very trimmed down database version that is aimed towards...
January 17, 2013 at 12:01 pm
rootfixxxer (1/17/2013)
Never used ITVF before, so how do i replace my function by the ITVF? 😀
without the code i mentioned previously, it's really hard to guess;
since i cannot test this,...
January 17, 2013 at 10:19 am
the cursor is your # 1 performanceproblem then.
i'm sure you can replace it with a set based function:
if you are doing the same logic to each row in the cursor,...
January 17, 2013 at 10:11 am
well, the obvious fix is to use an Inline Table Valued function instead of a scalar function;
i was able to convert it easily, but the example usage you pasted is...
January 17, 2013 at 9:42 am
and some ready made code to test it: creates a rule and a column that uses it:
CREATE RULE [dbo].[NumericCharsOnly]
AS
--@value NOT LIKE '%[0-9,-+]%' ESCAPE '!' --bad way...minus and spec...
January 17, 2013 at 8:39 am
Viewing 15 posts - 4,111 through 4,125 (of 13,462 total)