Re: read from a MS SQL server with 4D

2017-09-13 Thread Chuck Miller via 4D_Tech
As I have said before Microsoft's own web site. See below is a great resource

https://docs.microsoft.com/en-us/sql/sql-server/sql-server-technical-documentation

Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Sep 13, 2017, at 4:09 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I have not done anything in 4D with MS SQL Server, but have done quite a bit 
> of scripting using SQL Server Management Studio (SQLSMS). 
> 
> It is very easy to work with SQLSMS and I taught myself how to write the 
> scripts by copying example scripts from the internet and running them in 
> SQLSMS, modifying the examples, then finally writing my own scripts. I found 
> this to be an excellent learning environment.
> 
> If I were to have to write any SQL code in 4D, I think I would write the code 
> in SQLSMS and test it there first. Then copy the code into 4D. 
> 
> If you do not have access to the actual SQL Server you will be accessing, set 
> yourself up with a sql server in your development environment and install a 
> demo data base to work with…
> 
>   
> http://www.faceofit.com/direct-links-to-download-sql-server-sample-databases/
> 
> When I first started, I used the Adventure Works demo database in a VM on my 
> Mac. After I felt comfortable with what I was doing I moved to the actual MS 
> SQL database and work on it directly now.
> 
> Hope that helps,
> 
> John
> 
> 
> 
>> On Sep 13, 2017, at 5:49 AM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> Ferdinando,
>> 
>> W3 Schools is a good source of examples:
>> 
>> https://www.w3schools.com/sql/
>> 
>> 
>> Randy Engle, Director
>> XC2 Software LLC – XC2LIVE!
>> 
>> -Original Message-
>> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of 
>> stardata.info via 4D_Tech
>> Sent: Wednesday, September 13, 2017 5:28 AM
>> To: 4d_tech@lists.4d.com
>> Cc: stardata.info <stard...@stardata.info>
>> Subject: read from a MS SQL server with 4D
>> 
>> I all,
>> 
>> I need to read from a MS SQL server with 4D.
>> Someone can give a link with examples.
>> 
>> Thanks
>> /Ferdinando/
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>> 
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
> 
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: read from a MS SQL server with 4D

2017-09-13 Thread John Baughman via 4D_Tech
I have not done anything in 4D with MS SQL Server, but have done quite a bit of 
scripting using SQL Server Management Studio (SQLSMS). 

It is very easy to work with SQLSMS and I taught myself how to write the 
scripts by copying example scripts from the internet and running them in 
SQLSMS, modifying the examples, then finally writing my own scripts. I found 
this to be an excellent learning environment.

If I were to have to write any SQL code in 4D, I think I would write the code 
in SQLSMS and test it there first. Then copy the code into 4D. 

If you do not have access to the actual SQL Server you will be accessing, set 
yourself up with a sql server in your development environment and install a 
demo data base to work with…


http://www.faceofit.com/direct-links-to-download-sql-server-sample-databases/

When I first started, I used the Adventure Works demo database in a VM on my 
Mac. After I felt comfortable with what I was doing I moved to the actual MS 
SQL database and work on it directly now.

Hope that helps,

John



> On Sep 13, 2017, at 5:49 AM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Ferdinando,
> 
> W3 Schools is a good source of examples:
> 
> https://www.w3schools.com/sql/
> 
> 
> Randy Engle, Director
> XC2 Software LLC – XC2LIVE!
> 
> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of 
> stardata.info via 4D_Tech
> Sent: Wednesday, September 13, 2017 5:28 AM
> To: 4d_tech@lists.4d.com
> Cc: stardata.info <stard...@stardata.info>
> Subject: read from a MS SQL server with 4D
> 
> I all,
> 
> I need to read from a MS SQL server with 4D.
> Someone can give a link with examples.
> 
> Thanks
> /Ferdinando/
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: read from a MS SQL server with 4D

2017-09-13 Thread Randy Engle via 4D_Tech
Ferdinando,

W3 Schools is a good source of examples:

https://www.w3schools.com/sql/


Randy Engle, Director
XC2 Software LLC – XC2LIVE!

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of stardata.info 
via 4D_Tech
Sent: Wednesday, September 13, 2017 5:28 AM
To: 4d_tech@lists.4d.com
Cc: stardata.info <stard...@stardata.info>
Subject: read from a MS SQL server with 4D

I all,

I need to read from a MS SQL server with 4D.
Someone can give a link with examples.

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: read from a MS SQL server with 4D

2017-09-13 Thread Benedict, Tom via 4D_Tech
Fernando writes:



>I need to read from a MS SQL server with 4D.

>Someone can give a link with examples.



SQL LOGIN is a good command to start with.

Tom Benedict
Optum Inc
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

read from a MS SQL server with 4D

2017-09-13 Thread stardata.info via 4D_Tech

I all,

I need to read from a MS SQL server with 4D.
Someone can give a link with examples.

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**