<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1014728" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1014728</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1086158</link>
    <description> &lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Now, don&#039;t laugh... I have found out that the server have already gotten EM installed &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I have requested to get the database created, so hopefully I will be able to see what happens soon...&lt;/p&gt;
&lt;p&gt;Thanks so far.&lt;br /&gt;
~casoper&lt;/p&gt;
 </description>
     <pubDate>Sun, 29 Jul 2001 17:39:45 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1086158 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1086141</link>
    <description> &lt;p&gt;hmm, I think maybe you&#039;re a little confused, it&#039;s ok that&#039;s why DBAs get paid so much money &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;You shouldn&#039;t have to install anything on the server. If you&#039;ve purchased a SQL account from your hosting company then it&#039;s just a matter of importing your database from Access to the SQL Server. They should have given you the SQL Server name or IP number. Just use Enterprise Manager (installed on your computer), register your new SQL Server (it will ask you for the name, this is where you enter the name or IP number, then it will ask you for the login credentials, it will probably be using SQL security). Once the server is registered then it&#039;s a simple right-click on the database name, select all tasks, then import data. You&#039;ll get another menu that asks you for the data source (which would be your Access database), then it will ask you for the data destination (which is your new SQL Server), then it will ask you if you want to do any data transformation, then it will ask you if you want to run this now or schedule it for later (run it now), and then it will import the database.&lt;/p&gt;
&lt;p&gt;To get Enterprise Manager simply order the Free SQL Server 2000 demo from Microsoft and install the client tools only.&lt;/p&gt;
&lt;p&gt;You can also use Visual Interdev to connect to your new SQL database, just add a new data connection to your project that points to your new database. You&#039;ll be able to create tables there also but it is limited compared to Enterprise Manager.&lt;/p&gt;
&lt;p&gt;Data-types:&lt;/p&gt;
&lt;p&gt;Time/date - I would use smalldatetime&lt;br /&gt;
Number - int&lt;br /&gt;
Text field up to 5000 characters - varchar&lt;br /&gt;
Primary key auto - int with Identity Yes 1,1&lt;br /&gt;
Text greater than 5000 characters - text&lt;/p&gt;
&lt;p&gt;To make a column that requires unique fields simply add the UNIQUE constraint at the end of the field name when creating it.&lt;/p&gt;
&lt;p&gt;It is worth the effort, but don&#039;t under-estimate the amount of work, and possible problems, that could arise. If you really take the time to learn and understand what you&#039;re doing you&#039;ll come out of this with valuable skills.&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Jul 2001 16:59:11 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1086141 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1086138</link>
    <description> &lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;I didn&#039;t see it before yesterday, but aparently its the SQL Server that I can get from my server (fasthosts.co.uk)...&lt;/p&gt;
&lt;p&gt;As all I have is hosting, I bet that I can&#039;t install anything on the servers...&lt;/p&gt;
&lt;p&gt;I will have to create it all from the beginning...&lt;/p&gt;
&lt;p&gt;Ok, I have to create the fields.&lt;br /&gt;
Can you verify if the syntax I write will give the right field-type?&lt;/p&gt;
&lt;p&gt;Time/date = timestamp&lt;br /&gt;
number = integer&lt;br /&gt;
text field = varchar()&lt;br /&gt;
autonumerating = identify&lt;br /&gt;
large field = memo&lt;/p&gt;
&lt;p&gt;How do I make a field so that it cannot have the same value twice in the table? I know it can be done with Access, but can it be done with SQL as well?&lt;br /&gt;
I hope so....&lt;/p&gt;
&lt;p&gt;Thank you!&lt;br /&gt;
~Casper&lt;/p&gt;
&lt;p&gt;PS: It is worth the efford to  change teh database, right?&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Jul 2001 10:05:14 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1086138 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1086112</link>
    <description> &lt;p&gt;I thought that you wanted a MS SQL Server database? MS SQL &amp;amp; MySQL are not the same thing, to find out more abuot SQL Server you can check out &lt;a href=&quot;http://www.microsoft.com/sql&quot; class=&quot;bb-url&quot;&gt;microsoft.com/sql&lt;/a&gt; . If you&#039;re running ASP then I would probably stick with the MS SQL database, as they work pretty good together.&lt;/p&gt;
&lt;p&gt;As I said above, the easiest way to import from Access to MS SQL is to use Enterprise Manager, it&#039;s really pretty easy, point and click stuff. If you can&#039;t install EM then maybe your host will import the database for you, but I strongly recommend getting EM, it will make your life much easier.&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Jul 2001 16:37:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1086112 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1086106</link>
    <description> &lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;I have found out that what my server provides is an MS SQL Server Database! Now, what is the difference here???&lt;/p&gt;
&lt;p&gt;Can you explain what the difference is, and how to convert it? I found this &lt;a href=&quot;http://www.mysql.com/doc/S/E/SEC583.html,&quot; class=&quot;bb-url&quot;&gt;http://www.mysql.com/doc/S/E/SEC583.html,&lt;/a&gt; but I don&#039;t know of mySQL and SQL server is the one and same thing...&lt;/p&gt;
&lt;p&gt;Someone, please help me &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;
~Casper&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Jul 2001 15:04:05 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1086106 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1085000</link>
    <description> &lt;p&gt;1) You should specify the CursorType to make sure the RecordCount method is supported, have a look at this link for more info: &lt;a href=&quot;http://www.asp101.com/samples/db_count.asp&quot; class=&quot;bb-url&quot;&gt;http://www.asp101.com/samples/db_count.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An aggregate function is one like COUNT/AVG/SUM etc. As I said before you&#039;re best bet is to use a stored procedure, maybe like this:&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE Owner.ProcedureName&lt;br /&gt;
 @Records	integer		OUTPUT&lt;/p&gt;
&lt;p&gt;SELECT Fields, FROM Tables&lt;br /&gt;
SET @Records = @@ROWCOUNT&lt;/p&gt;
&lt;p&gt;2) Good&lt;/p&gt;
&lt;p&gt;3) By autonumerating do you mean Identity? An identity field is one that increments by a set integer automatically. This field is usually set as the primary key for the table. EM doesn&#039;t have any problems with Identity fields, when you create a new table just set the column you want to increment automatically to Identity:Yes and then set the Identity seed/increment, for example a seed of 1 with an increment of 1 will start at 1 and then add 1 for each new record.&lt;/p&gt;
 </description>
     <pubDate>Mon, 09 Jul 2001 15:46:10 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1085000 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1084998</link>
    <description> &lt;p&gt;Thank you, however there are still a couple of questions left:&lt;/p&gt;
&lt;p&gt;1) What do you mean by putting the curser in the right place? DO you mean that I should make sure to use OBJ.movelast, or...?&lt;br /&gt;
You say aggregate function, what is that? What does it mean? Is it posible to select and count in the same SQL sentence?&lt;/p&gt;
&lt;p&gt;2) I don&#039;t know if my server have that installed.. hope so &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Think so actually!&lt;/p&gt;
&lt;p&gt;3) If it have Enterprice Manager installed, I guess it aint needed... I have heard though that EM have problems with autonumerated fields, what is that called (INTEGER, MEMO etc... but the one for autonumerating)?&lt;/p&gt;
&lt;p&gt;4) I hope it wont be a problem anyway &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thank you for this so far. I hope you can jelp with the final bit here!&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
~Casper&lt;/p&gt;
 </description>
     <pubDate>Mon, 09 Jul 2001 15:20:28 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1084998 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/access-ms-sql-asp#comment-1084994</link>
    <description> &lt;p&gt;Ok, here we go.&lt;/p&gt;
&lt;p&gt;1) Where did you hear this? Using the ADO RecordCount method works fine as long as you use the right kind of cursor. You can&#039;t use SELECT COUNT(*) with anything other than another aggregate function. If you&#039;re using SQL Server then you could use a stored procedure that checks the count and assigns it to an output variable, and then do your regular select statement.&lt;/p&gt;
&lt;p&gt;2) The easiest way to transfer the database is to import it using Enterprise Manager. Just get a free demo of SQL Server 2000 and install the client tools only.&lt;/p&gt;
&lt;p&gt;3) The syntax for creating a table:&lt;br /&gt;
CREATE TABLE TableName&lt;br /&gt;
(&lt;br /&gt;
PrimaryField smallint IDENTITY (1, 1) PRIMARY KEY,&lt;br /&gt;
AnotherField varchar(50) NOT NULL&lt;br /&gt;
)&lt;br /&gt;
Do yourself a favor and get Enterprise Manager! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;4) You should be able to import your Access db without to many problems. After you&#039;ve imported check your primary keys/seeds, sometimes those aren&#039;t setup right when the database is imported.&lt;/p&gt;
 </description>
     <pubDate>Mon, 09 Jul 2001 13:15:53 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1084994 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
