Viewing 15 posts - 2,671 through 2,685 (of 5,590 total)
You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables...
October 28, 2010 at 7:43 pm
Jeff Moden (10/28/2010)
Brandie Tarvin (10/28/2010)
Now I'm obsessing about...
October 28, 2010 at 7:40 pm
Yes - it's the Local system account. And I'm not being a smart-a**. There is an account called this. It is probably a suitable account to use, unless you need...
October 28, 2010 at 3:48 pm
Craig - I see you came through on your threat of a ST avatar! Seems appropriate, especially in the thread with Joes latest rant.
October 28, 2010 at 3:45 pm
Roy Ernest (10/28/2010)
Ah.. I see the Threadizens to the rescue. Cool job all of you..:-)
Yes indeed. Some are bashing Joe while others are trying to help the OP - and...
October 28, 2010 at 3:44 pm
mbender,
I see one thing in the TVF - you're calling another function to get the first day of the month. I don't know how you're doing that, but this is...
October 28, 2010 at 3:38 pm
Joe,
Your online persona has a negative attitude, is obnoxious, and is borderline crass. Just chill it.
Better yet, let the others out here help out. We can work with these people,...
October 28, 2010 at 3:23 pm
Roy Ernest (10/28/2010)
Ray K (10/28/2010)
Looks like Celko is at it again.
Ouch... Steve, this guy might be good but he is going to scare away OPs. Better have a talk with...
October 28, 2010 at 3:12 pm
GSquared (10/28/2010)
select convert(datetime, DateColumn)from MyTable;
nshah6 (10/28/2010)
Tried that. But I don't need time part. Just the date in yyyy-mm-ddThanks for response.
SELECT CONVERT(CHAR(10), CONVERT(datetime, DateColumn), 120);
October 28, 2010 at 2:01 pm
Michael Valentine Jones (10/28/2010)
Make Date function (like in VB)
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=22339
Although I would have assumed that anyone would realize without explanation that 22801/12 = 1900...
October 28, 2010 at 1:29 pm
david.holley (10/28/2010)
Thanks a bunch that goes a long, long way to actually doing what I need to do.
If it's possible to do, what really needs to be done is to...
October 28, 2010 at 11:22 am
dtopicdragovic (10/28/2010)
I am trying to execute this statement and I suppose there is a problem in apostrophes, but I don't know how to make it work.
Exec ('SELECT DISTINCT ' +...
October 28, 2010 at 11:19 am
The code that creates the dynamic tables is run through an Execute SQL Task, connected to the SQL db:
CREATE PROCEDURE dbo.MyProc(
@SY varchar(10)
)
As
declare @SY_0 varchar(10)
declare @SY_1 varchar(10)
declare @SY_2...
October 28, 2010 at 11:15 am
david.holley (10/28/2010)
And then break out the prefix from the criteria and apply the derived criteria against the derived columns?
Precisely. Something like this:
declare @SearchRange varchar(8);
set @SearchRange = 'N2100';
declare @SearchPrefix varchar(8),
...
October 28, 2010 at 8:09 am
Brandie Tarvin (10/28/2010)
I ask because the closest thing I've got to what you're doing sets a variable...
October 28, 2010 at 8:00 am
Viewing 15 posts - 2,671 through 2,685 (of 5,590 total)