Click here to Skip to main content
15,912,897 members

Comments by Beginner_JK (Top 3 by date)

Beginner_JK 17-Jul-15 7:23am View    
I did ask what was really meant by this, I said according to my understanding the processor gets heated and the heat sensor will have the ability to sense and indicate this. But I really got confused when I was asked to approach this scenario to apply OOPs
Beginner_JK 17-Jul-15 7:09am View    
I am not much into designing yet with my level of experience, not sure what I said made them ask this. But it would really be helpful if you could give some Idea.
You are correct they did mention that the functionality can be thought of later but what approach would you take to apply abstraction.
Beginner_JK 2-Sep-14 8:43am View    
This is the script I could come up with but PRoductVersion should have the registry value so that I can compare

@echo off

ECHO Enter Login User Details:
SET /P USER=User Name e.g. (DomainName\DomainUserName) [sa]:
IF "%USER%"=="" SET USER="sa"
Echo Setting UserName to : %USER%

SET /P PWD=Password :

SET /P ProductVersion = ....................

IF ProductVersion = 1.0.0040 (

echo ..........................
echo Starting database creation
echo ..........................

sqlcmd -dSATDB -iSAT11_SQLscript.sql -ocreate_databases_log.txt

)

Else (

echo ..........................
echo Starting folder creation
echo ..........................

mkdir "D:\SAT\DATA"
mkdir "D:\SAT\BACKUP"

echo ..........................
echo Starting database creation
echo ..........................

sqlcmd -dSATDB -iSAT10_SQLscript.sql -ocreate_databases_log.txt
sqlcmd -dSATDB -iSAT11_SQLscript.sql -ocreate_databases_log.txt

)

GO
echo end of database creation

pause