Viewing 15 posts - 2,671 through 2,685 (of 6,036 total)
If you are about to make bulk update of historical data then read again the post from Michael above.
Time difference applied for summer months records should be different from time...
January 26, 2009 at 3:48 pm
Yes, that's it.
If you don't need WHERE condition just don't add it.
BTW, my script will work correctly not only in winter but in summer as well.
And if they move the...
January 25, 2009 at 4:27 pm
[created date] + GETDATE() - GETUTCDATE()
January 24, 2009 at 11:52 pm
Please read Cast and Convert topic in Book On Line.
Especially the part about styles for datetime-to-varchar conversions.
Your answer is right there.
January 24, 2009 at 5:57 am
PG, couple o suggestions.
1. Avoid using triggers. At least without a good advice. Your SQL knowledge and technics are not good enough for that.
When every your procedure will return instant...
January 23, 2009 at 2:17 pm
Jeff, it's so obvious! 🙂
Because:
- they have list of ExpertCategories in separate table with GUID as a PK (because GUID is so cool and so much more advanced comparing to...
January 21, 2009 at 8:03 pm
You query for different things, so you get different results. Naturally.
Try this:
DECLARE @catuid uniqueidentifier
SET @catuid = '%{FD45C3EE-4A1C-4BF9-8C68-E7085F0EA045}%'
SELECT email FROM tblExperts WHERE ExpertCategory LIKE @catuid
or
DECLARE @catuid uniqueidentifier
SET @catuid = '{FD45C3EE-4A1C-4BF9-8C68-E7085F0EA045}'
SELECT email...
January 21, 2009 at 6:59 pm
If you need just to run a program in System32 you don't need to include folder in the command at all.
This folder should be registered in PATH variable and cscript.exe...
January 21, 2009 at 3:13 am
SQL Server should not be anywhere around System32 folder.
What do you want to do in there?
January 20, 2009 at 9:22 pm
hemant789 (1/20/2009)
Thanks for reply.It is useful for me at some extent.
It's just a "hand made" trace.
Less effective and less accurate. If a connection was open and closed within the same...
January 20, 2009 at 9:18 pm
So, for some time bigint values were inserted into datetime column?
And now you need to restore them as bigint?
Is it right?
January 20, 2009 at 2:54 am
We discussed this matter on this forum several times.
Here are couple of links for you:
January 19, 2009 at 6:50 pm
If your files are not very big it's easier to set up linked server connection to text files using ODBC driver.
That driver interpretes quoted values correctly.
January 19, 2009 at 3:48 pm
Matt Miller (1/19/2009)
INSERT into TableA (mycolumns)
select mycolumns
from TableB tb
where not exists (select null from tableA ta where ta.id=tb.id)
update TableA
set whatever
where conditionmatch
Note that by...
January 19, 2009 at 3:07 pm
First you need to search this forum for "Unable to open bcp host data-file".
If any of the topics will not resolve your problem then give more details - the way...
January 19, 2009 at 4:43 am
Viewing 15 posts - 2,671 through 2,685 (of 6,036 total)