Relational SQL - help with WHERE query
hi guys, I have 3 tables. One contains currency rate information (tbl_currency_rate) , one contains portfolio sizes information (tbl_flt_size_summary), and another contains a conversion between...
View Article[RESOLVED] "Index or primary key cannot contain a null value" Help , please !
Hi, after a quick search on the internet i found various answers to problems like mine but could not find an answer that could apply to my program, to whoever is interested in helping me fix my problem...
View Article[RESOLVED] Relational SQL - help with WHERE query
hi guys, I have 3 tables. One contains currency rate information (tbl_currency_rate) , one contains portfolio sizes information (tbl_flt_size_summary), and another contains a conversion between...
View Article[RESOLVED] Alter Column Default
Not sure what the deal is but for whatever reason I cant add a nullstring default to my column. Any ideas on what could be preventing it? Just errors saying syntax error when I do through code and if...
View Articlehow can i run this query in vb
Hi all i have a query in database and it works good .now i need to use this query in vb6 . any body can write this query in vb6 so that run this query in vb6? i attached access database(mdb) .please...
View ArticleUpdate SQL Server image field to varbinary(max)
I understand that the SQL Server image datatype will eventually be deprecated. Are there any issues associated with updating an image field to varbinary(max)? Can I expect this update to be seamless...
View ArticleGetting Path for each users in a database
Hi, I am using VS Express 2013 and MS access 2013, VB language and database is .accdb, I'm currently stock and couldn't figure out the right code. I'm writing a program for Fleet Management of our...
View ArticleSSIS/DTS export error when exporting multiple tables
Simple straight exporting of table data. Running SQL 2008R2 When I export 4 tables I get errors but when I run them all individually no errors. Found the offending table and ran it separately and the...
View Article[RESOLVED] Getting Path for each users in a database
Hi, I am using VS Express 2013 and MS access 2013, VB language and database is .accdb, I'm currently stock and couldn't figure out the right code. I'm writing a program for Fleet Management of our...
View ArticleOptimizing Stored Procedure
This one is slow and I know it can be optimized, anybody who have ideas on what should I change? TIA Code: SELECT table1.REFERENCE, Â Â Â Â table2.Column2, Â Â Â Â table2.Column3,...
View ArticleMySQL Error When Saving Records
I'm working on a program to allow users to enter contact details through a VB application and have these details saved in a MySQL database. However, when I try to save a record an error dialog pops up...
View ArticleExcel VBA - SQL Sevrver -> Run-time error 3265
Hi all, first post here. I hope I am doing it according to best practice (but I don't know yet how to get code in a seperate box). I am trying to read data from a spreadsheet and inserting it into a...
View Articleneed advice
i have this table column whose id field is varchar populated with values 1 to 1million for example on 0000000 format. i can use sql max function to get the highest number or put the last generated id...
View Articletext box values wont change when I preform a search
hello, I am using vb 2010 (part of visual studio) and access 2007. I have a form on my the program I am making that allows users to search and edit customer details such as ID Name etc. but when I use...
View ArticleSQL Formatter
I was using a nice SQL Formatter but my hard disk died and now I forgot its name. Can you guys recommend which you think does the job nicely? TIA
View ArticleExecution plan? What about them?
How should we analyze Execution Plans and how do we know how to optimize it? Szlamany said I should add an index if I find a Table Scan, how about those index seeks? Index scan? Clustered? Unclustered?...
View ArticleNested replace() functions: a better way?
Cleaning up phone number data imported from Excel. This admittedly ugly script works, but I can't help but wonder if there's a better or more efficient way of doing this than multiple nested calls to...
View ArticleSQL Command
Hi I have two tables "Players" and "Games". PLayers has a PlayerID and PlayerName. Games has GameID and PlayerID among other columns. I need to select All PlayerNames and Count the rows in the Games...
View ArticleInsert into Statment Error
Hi, I've been trying a lot to sort this out from last 3 days but every time new error comes out. I'am trying to add new records using my MS - Access 2007 user form to access table. I'am getting run...
View ArticleExtend data limit of MSSQL Server Express
This is a query for which I can't even seem to get an answer from Microsoft. I package MSSQL Server Express with my apps. The 10GB limit offered with 2008 and 2012 is ample in most cases but I have...
View Article