Viewing 15 posts - 31 through 45 (of 594 total)
You could use SQL Server Management Studio to import from MS-Access.
Connect to the SQL server, click the Databases node to expand the list, right-click on your database and select Tasks...
August 23, 2016 at 3:08 pm
yes, it removes the period PLUS any characters that follow the period.
June 24, 2016 at 1:26 pm
I would like to point out that the expression
If InStr(PID, ".") > 0 Then
PID = Left(PID, InStr(PID, ".") - 1)
End If
will truncate the string starting with the first "."...
June 24, 2016 at 12:40 pm
Wendell's comments are spot on.
I would add that if you have 100 users, then make sure that each user has their own copy of the Access file.
EDIT: oops, he already...
December 16, 2015 at 7:50 am
I ran the original version of the script & found a table that had an identity column, but the clustered PK was actually two other columns :w00t: so thanks Doran.
November 24, 2015 at 8:46 am
Here is an article I wrote a couple years ago...
http://wvmitchell.blogspot.com/2012/01/sql-list-columns-in-table-updated.html
and the source code is here: http://www.wvmitchell.com/blogger/wm_columns.htm
this only works for tables. I have another version of views...
October 15, 2015 at 8:25 am
This will list ALL of the user tables with the locations where they are used. You could substitute your "table of table names" in place of sys.tables...
SELECT
t.name AS table_name,
OBJECT_NAME(m.object_id) AS...
February 16, 2015 at 5:30 am
Answered my own question - all I had to do is go into Control Panel ~ Programs & Features and Change the resharper settings to skip 2005 and 2008.
February 13, 2015 at 10:57 am
I would suggest that you sign up with LinkedIn and glassdoor.com you can search by job title and area for salaries & company reviews.
August 22, 2014 at 8:03 am
Back to the OP, in the event that somebody actually needs help...
If Access is prompting for a password, but there was no database password set - then the file cannot...
July 22, 2014 at 3:39 pm
What is "SubQryTab05forAppend" is that an Access query or SQL view? If it is an Access query, the pass-thru cannot see it.
Can you run just the SELECT portion of the...
May 30, 2014 at 7:10 am
Take a look at SSMA, it is not a scripting solution but makes it very easy to migrate:
Microsoft SQL Server Migration Assistant for Access v5.2
http://www.microsoft.com/en-us/download/details.aspx?id=28763
"SQL Server Migration...
March 14, 2014 at 11:52 am
You could use DSN-less connections. The first code will attach one table:
Sub AttachOne(TableName As String)
Const my_connection = "ODBC;DRIVER=SQL Native Client;SERVER=my_server;UID=my_username;PWD=my_password;DATABASE=my_database;"
'
...
January 22, 2014 at 5:31 am
Here is an example of a possible method you could use:
-- set up sample table with data
IF OBJECT_ID('dbo.my_table') IS NOT NULL
DROP TABLE dbo.my_table
GO
CREATE TABLE dbo.my_table
(
ID int identity(1,1) NOT NULL,
F1 varchar(4),
F2...
December 6, 2012 at 5:37 am
Regardless of which method used, you should really look up the data types & sizes in BOL so you can properly declare the columns / variables ...
for INFORMATION_SCHEMA.TABLES:
TABLE_SCHEMA nvarchar(128)
TABLE_NAME sysname
for...
October 25, 2012 at 9:38 am
Viewing 15 posts - 31 through 45 (of 594 total)