From paul.hartland at fsmail.net Tue Jul 11 04:47:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <9486947.1152611273998.JavaMail.www@wwinf3003> To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. From Jdemarco at hudsonhealthplan.org Tue Jul 11 07:01:32 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 11 Jul 2006 08:01:32 -0400 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA3A69@TTNEXCHCL2.hshhp.com> I think they renamed it to Configuration Manager in 2005. Is that not the same thing? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 5:48 AM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Tue Jul 11 18:21:38 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 12 Jul 2006 09:21:38 +1000 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7C7@ddi-01.DDI.local> Sql Server Management Studio. You may need to install it seperately but it is there. Havn't done much with it but the Studio takes a bit to get used to, seems pretty slow too. cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, 11 July 2006 7:48 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Jul 12 04:29:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 11:29:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland From michael at ddisolutions.com.au Wed Jul 12 18:35:20 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 13 Jul 2006 09:35:20 +1000 Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7DE@ddi-01.DDI.local> Save will save as a script, execute places it in the db... ;-))) cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, 12 July 2006 7:30 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Importance: High To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jul 18 05:16:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 18 Jul 2006 12:16:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Database With Visual Basic 6.0 Front-End Message-ID: <12926363.1153217807354.JavaMail.www@wwinf3203> To all, We have recently installed SQL Server 2005 and I am looking at using the network login names for security on the database, I have set mine up and setup a test table called tblUsers and as a test disabled myself from updating the column password. I have a very basic form on the front-end which will bring me back my logon name and password like below: Dim rs as ADODB.Recordset Set rs = New ADODB.Recordset rs.CursorLocation = adUseClient rs.Open ("SELECT * FROM tblUsers"), DEOPARA.SQLConn, adOpenDynamic, adLockOptimistic Me.Text1 = rs.Fields("Username") Me.Text2 = rs.Fields("Password") and if I try to edit Text2 (got an update recordset command on the lostfocus as a test for now), it returns an error telling me I can't update this field. What I was wondering is, when I return the recordset is there anyway of telling which field(s) if any aren't going to be updateable by the user, so I can then disable the text box, or would the best way be an error trapping routine for the update error. Any help on this would be greatly appreciated as this is going to turn into a big internal development, when I eventually get to grips with everything. Paul Hartland From paul.hartland at fsmail.net Tue Jul 11 04:47:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <9486947.1152611273998.JavaMail.www@wwinf3003> To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. From Jdemarco at hudsonhealthplan.org Tue Jul 11 07:01:32 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 11 Jul 2006 08:01:32 -0400 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA3A69@TTNEXCHCL2.hshhp.com> I think they renamed it to Configuration Manager in 2005. Is that not the same thing? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 5:48 AM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Tue Jul 11 18:21:38 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 12 Jul 2006 09:21:38 +1000 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7C7@ddi-01.DDI.local> Sql Server Management Studio. You may need to install it seperately but it is there. Havn't done much with it but the Studio takes a bit to get used to, seems pretty slow too. cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, 11 July 2006 7:48 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Jul 12 04:29:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 11:29:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland From michael at ddisolutions.com.au Wed Jul 12 18:35:20 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 13 Jul 2006 09:35:20 +1000 Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7DE@ddi-01.DDI.local> Save will save as a script, execute places it in the db... ;-))) cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, 12 July 2006 7:30 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Importance: High To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jul 18 05:16:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 18 Jul 2006 12:16:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Database With Visual Basic 6.0 Front-End Message-ID: <12926363.1153217807354.JavaMail.www@wwinf3203> To all, We have recently installed SQL Server 2005 and I am looking at using the network login names for security on the database, I have set mine up and setup a test table called tblUsers and as a test disabled myself from updating the column password. I have a very basic form on the front-end which will bring me back my logon name and password like below: Dim rs as ADODB.Recordset Set rs = New ADODB.Recordset rs.CursorLocation = adUseClient rs.Open ("SELECT * FROM tblUsers"), DEOPARA.SQLConn, adOpenDynamic, adLockOptimistic Me.Text1 = rs.Fields("Username") Me.Text2 = rs.Fields("Password") and if I try to edit Text2 (got an update recordset command on the lostfocus as a test for now), it returns an error telling me I can't update this field. What I was wondering is, when I return the recordset is there anyway of telling which field(s) if any aren't going to be updateable by the user, so I can then disable the text box, or would the best way be an error trapping routine for the update error. Any help on this would be greatly appreciated as this is going to turn into a big internal development, when I eventually get to grips with everything. Paul Hartland From paul.hartland at fsmail.net Tue Jul 11 04:47:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <9486947.1152611273998.JavaMail.www@wwinf3003> To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. From Jdemarco at hudsonhealthplan.org Tue Jul 11 07:01:32 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 11 Jul 2006 08:01:32 -0400 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA3A69@TTNEXCHCL2.hshhp.com> I think they renamed it to Configuration Manager in 2005. Is that not the same thing? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 5:48 AM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Tue Jul 11 18:21:38 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 12 Jul 2006 09:21:38 +1000 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7C7@ddi-01.DDI.local> Sql Server Management Studio. You may need to install it seperately but it is there. Havn't done much with it but the Studio takes a bit to get used to, seems pretty slow too. cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, 11 July 2006 7:48 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Jul 12 04:29:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 11:29:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland From michael at ddisolutions.com.au Wed Jul 12 18:35:20 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 13 Jul 2006 09:35:20 +1000 Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7DE@ddi-01.DDI.local> Save will save as a script, execute places it in the db... ;-))) cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, 12 July 2006 7:30 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Importance: High To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jul 18 05:16:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 18 Jul 2006 12:16:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Database With Visual Basic 6.0 Front-End Message-ID: <12926363.1153217807354.JavaMail.www@wwinf3203> To all, We have recently installed SQL Server 2005 and I am looking at using the network login names for security on the database, I have set mine up and setup a test table called tblUsers and as a test disabled myself from updating the column password. I have a very basic form on the front-end which will bring me back my logon name and password like below: Dim rs as ADODB.Recordset Set rs = New ADODB.Recordset rs.CursorLocation = adUseClient rs.Open ("SELECT * FROM tblUsers"), DEOPARA.SQLConn, adOpenDynamic, adLockOptimistic Me.Text1 = rs.Fields("Username") Me.Text2 = rs.Fields("Password") and if I try to edit Text2 (got an update recordset command on the lostfocus as a test for now), it returns an error telling me I can't update this field. What I was wondering is, when I return the recordset is there anyway of telling which field(s) if any aren't going to be updateable by the user, so I can then disable the text box, or would the best way be an error trapping routine for the update error. Any help on this would be greatly appreciated as this is going to turn into a big internal development, when I eventually get to grips with everything. Paul Hartland From paul.hartland at fsmail.net Tue Jul 11 04:47:54 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 11 Jul 2006 11:47:54 +0200 (CEST) Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <9486947.1152611273998.JavaMail.www@wwinf3003> To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. From Jdemarco at hudsonhealthplan.org Tue Jul 11 07:01:32 2006 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 11 Jul 2006 08:01:32 -0400 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <08F823FD83787D4BA0B99CA580AD3C7403CA3A69@TTNEXCHCL2.hshhp.com> I think they renamed it to Configuration Manager in 2005. Is that not the same thing? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, July 11, 2006 5:48 AM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Tue Jul 11 18:21:38 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 12 Jul 2006 09:21:38 +1000 Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7C7@ddi-01.DDI.local> Sql Server Management Studio. You may need to install it seperately but it is there. Havn't done much with it but the Studio takes a bit to get used to, seems pretty slow too. cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, 11 July 2006 7:48 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] Cross-Posted - SQL SERVER 2005 Front-End Importance: High To all, I have cross-posted this question sorry to those of you that will receive it more than once, our company have just purchased and installed SQL Server 2005. Is there a front-end similar to the Enterprise Manager available for this ?, if not anyone know any good/great books to buy to get to grips with it very quickly ? Thanks in advance for any help on this. Paul Hartland Database Developer. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Jul 12 04:29:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 12 Jul 2006 11:29:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <27046402.1152696587795.JavaMail.www@wwinf3104.me-wanadoo.net> To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland From michael at ddisolutions.com.au Wed Jul 12 18:35:20 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 13 Jul 2006 09:35:20 +1000 Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A7DE@ddi-01.DDI.local> Save will save as a script, execute places it in the db... ;-))) cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, 12 July 2006 7:30 PM To: accessd; dba-sqlserver; dba-vb Subject: [dba-VB] SQL Server 2005 Stored Procedures (Confused !!!!!) Importance: High To all, Sorry for cross posting this again to those of you that will receive this email more than once, I have eventually got the SQL Server Management Studio and fairly happily playing with it. However I thought I would create a stored procedure so wrote a very simple one, and clicked save and it asked me to save it as SQLQuery1 which I thought strange as I thought the name would be genesis_select_UserLogon (as below)....But saved it none the less, but I can't seem to find it anywhere in the database I created, but I wrote a quick VB app to use it and it works ok....Can anyone tell me where I find the stored procedure that I create in the database ? CREATE PROCEDURE [genesis_select_UserLogon] ( @strUser [nvarchar](100), @strPass [nvarchar](100) ) AS SELECT Username, Password FROM tblUsers WHERE Username = @strUser AND Password = @strPass GO Thanks in advance for any help on this... Paul Hartland _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jul 18 05:16:47 2006 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 18 Jul 2006 12:16:47 +0200 (CEST) Subject: [dba-VB] SQL Server 2005 Database With Visual Basic 6.0 Front-End Message-ID: <12926363.1153217807354.JavaMail.www@wwinf3203> To all, We have recently installed SQL Server 2005 and I am looking at using the network login names for security on the database, I have set mine up and setup a test table called tblUsers and as a test disabled myself from updating the column password. I have a very basic form on the front-end which will bring me back my logon name and password like below: Dim rs as ADODB.Recordset Set rs = New ADODB.Recordset rs.CursorLocation = adUseClient rs.Open ("SELECT * FROM tblUsers"), DEOPARA.SQLConn, adOpenDynamic, adLockOptimistic Me.Text1 = rs.Fields("Username") Me.Text2 = rs.Fields("Password") and if I try to edit Text2 (got an update recordset command on the lostfocus as a test for now), it returns an error telling me I can't update this field. What I was wondering is, when I return the recordset is there anyway of telling which field(s) if any aren't going to be updateable by the user, so I can then disable the text box, or would the best way be an error trapping routine for the update error. Any help on this would be greatly appreciated as this is going to turn into a big internal development, when I eventually get to grips with everything. Paul Hartland