Viewing 15 posts - 196 through 210 (of 332 total)
There is some debate about the "best" way to represent the date. With MS SQL, probably best to go with ISO 8601 format:
yyyy-mm-ddThh:mm:ss
where "T" is the separator between the date...
July 14, 2008 at 9:13 am
It sounds like the date is not what you think it is! Try:
declare @mySmallDate smalldatetime
set @mySmallDate = '20030721'
select @mySmallDate
That should work just fine. If you try a date which is...
July 14, 2008 at 8:21 am
The ISO date format should work. Are you sure the date you are trying to assign is valid?
July 14, 2008 at 3:41 am
Heh... no wonder you're an MVP.
I think the saying goes, it takes one to know one....
July 10, 2008 at 9:30 am
Interesting to hear your views on Crystal Reports. I've not had much experience of Crystal directly; like you, I prefer to build the SQL queries in SSMS. Maybe someone else...
July 9, 2008 at 7:14 am
If you are just running "Command" in Crystal, maybe you could simplify your SQL query (or start with a straightforward SELECT and then build up to the final query) and...
July 9, 2008 at 6:59 am
Totally irrelevant coincidence, but I sold Kirby's for a (very) short time. Hated it. But, along the same line as Steve, I learnt a lot from the experience.
Like, I will...
July 9, 2008 at 5:02 am
If your permissions to the MS SQL Server are restricted, then Profiler probably won't be much use to you. Unfortunately, you need elevated rights (possibly even full System Admin, I...
July 9, 2008 at 4:43 am
I third that.... nice question, plus a concise but comprehensive explanation. Thanks.
July 9, 2008 at 4:34 am
A new member to the MCITP club - so proud 🙂
Congratulations!!!
July 7, 2008 at 7:06 am
Independence Day is a great film, right up to the point when they use an Apple laptop to upload a virus into the mothership. Yea, right. Call me picky, but...
I...
July 4, 2008 at 3:56 am
You have a couple of choices. For some people, the easiest way to import data is to do a BCP (bulk copy) into a temporary table, and then copy the...
June 27, 2008 at 3:05 am
I couldn't find exactly what I was looking for (VB code for an SSIS project), but you may find that pure T-SQL will accomplish what you need. For example:
declare @myDate...
June 26, 2008 at 3:27 am
hehe, ok, apology graciously accepted (on behalf of all Forum users).
Can I point out that there are no Gods on this Forum? There are certainly some very experienced users, but...
June 26, 2008 at 3:11 am
Brad's question was "How scared should I be?". That depends on how much of a Worrier you are. There are definitely many completely untrained DBAs out there. There are also...
June 25, 2008 at 3:50 am
Viewing 15 posts - 196 through 210 (of 332 total)