Viewing 15 posts - 2,371 through 2,385 (of 2,894 total)
If it's to hard...
Dim fso, f, f1, fc, s
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder("C:\Work")
Set fc = f.Files
...
August 24, 2010 at 11:16 am
QQ-485619 (8/24/2010)
I am looking for a vbscript to check if there is any file in a folder, C:\test
If there is a file there, then reture failure, and if there...
August 24, 2010 at 11:09 am
Do you want to learn SQL or just looking for a quick answer?
If the first, you can have a look two methods:
1. Do insert and then delete in two separate...
August 24, 2010 at 11:05 am
thisisdeepthy (8/24/2010)
I have a table say table1 with columns Title,surname,forename,address1,telephone,mobile,country and so on say 40 columns populated...
August 24, 2010 at 8:37 am
Could you please specify what is required output of your loop?
And why your input table contains full duplicates?
August 24, 2010 at 5:58 am
If you want it to be faster (less scans and less reads) do:
select ac
, SUM(CASE WHEN my_order = 1 THEN bal ELSE...
August 18, 2010 at 10:21 am
Use Microsoft Time and you will get 2 sec or whatever you like without much of hassle 😀
August 18, 2010 at 9:18 am
SQL_DBA_3 (8/18/2010)
I was looking for an reason why its behaving differently...Is there data mismatch which is foricng it for NOCHECK and then enabling the CHECK....
I wanted the foreign key...
August 18, 2010 at 7:43 am
SQL_DBA_3 (8/18/2010)
Please advice ...
Hornestly, there is no much to advise here...
You believe functionality is the same on both the servers while FK are scripting differently in terms of CHECK vs...
August 18, 2010 at 7:03 am
Here it is, to help you:
-- you will need table with two extra columns for DateFrom and CodeFrom
-- "select into" is quite fast even for large tables
select *, CAST(null as...
August 18, 2010 at 6:49 am
Use "quirky update"!
Also, you may speed up my query by adding indices on Date and Code columns...
August 18, 2010 at 6:17 am
Please test if performance is acceptable in you case:
;with termrec
as
(
select t1.UserId, t1.Date, t1.Code
from #temp t1
left join #temp t2
on t2.UserId = t1.UserId
and t2.Code = t1.Code + 1
where...
August 18, 2010 at 5:16 am
You may want to read through these couple of blogs:
and
August 18, 2010 at 4:45 am
SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=D:\CampaignInfo_MPM\MPM Questionnaire.xls',[Campaign$]) camp
Where do you think this statement is executed? Connecting to SQLServer from Client PC and then executing the SQL statement - does not mean...
August 18, 2010 at 4:04 am
August 17, 2010 at 9:30 am
Viewing 15 posts - 2,371 through 2,385 (of 2,894 total)