Viewing 15 posts - 8,236 through 8,250 (of 13,460 total)
are you familiar with using the GROUP BY statement? i think a SQL combined with some of the functions that are allowed using group by (MIN(),MAX()AVG())
would get you what...
January 6, 2011 at 1:24 pm
we'd really need the exact error you are getting...and also the exact code you are doing to really help. All i can offere is generalities.
where is param1 and param2? are...
January 6, 2011 at 9:58 am
it's working for me, but you had a lot of reserved words for your column names, so i quoted them, and see it's working that way.....:
With MyQuickTable AS (
SELECT 'MONTH_20101006_1_out.txt'...
January 5, 2011 at 3:51 pm
ok just checking the basics here...at my job, for example, google mail is blocked by our firewall because it's a corporate time waster...utube/facebook etc are all blocked as well...could google...
January 5, 2011 at 3:43 pm
here you go: visually, this is exactly how my gmail account is set up, and it works...the important piece is the port and mailserver address:

January 5, 2011 at 12:53 pm
so are you not allowed to setup dbmail on the SQL server, or you just don't have a specific SMTP mail server that you know you can use?
I've setup a...
January 5, 2011 at 9:25 am
do you mean you want to create a role so that when users connect, the tables are read only?
USE Whatever
CREATE ROLE [ReallyReadOnly]
--give reader writes to this...
January 4, 2011 at 2:18 pm
the short answer is because functions in SQL are different than functions in a programming language...they pretty much have to return data, and cannot change/update data.
because dynamic SQL could potentially...
January 4, 2011 at 12:43 pm
also, this is just incorrect...maybe a copy paste error?
@email is declared as a nvarchar(50), but you seem to be assigning it the results of a boolean...
January 4, 2011 at 12:38 pm
i copied and pasted your code into SSMS, and your syntax errors all seem to revolve around two issues: every CREATE PROC... statement must be in it's own batch...adding a...
January 4, 2011 at 12:35 pm
sc-w (1/4/2011)
update dbo.wce_contact set firstname = dbo.ProperCase(firstname)
Error:
Msg 1014, Level 15, State 1, Line 1
TOP clause...
January 4, 2011 at 12:13 pm
spelling error.
select statement gets SubmitTime,
but the update statement is using SubmittedTime
January 4, 2011 at 8:34 am
sc-w (1/4/2011)
Thanks for both the replies.I really like that function. How do i declare @OriginalText to be an actual field that alread exists?
Thanks again.
I should have added that to my...
January 4, 2011 at 8:12 am
this is the ProperCase function I use; it's from a post by Jeff Moden, i believe, harvested long long ago.
you can search for "ProperCase" or "InitCaps" here on SSC and...
January 4, 2011 at 6:07 am
why via the web interface of some provider? all the providers i know support email to sms, which is easier to do from SQL server; the problem is you have...
January 4, 2011 at 5:12 am
Viewing 15 posts - 8,236 through 8,250 (of 13,460 total)