Which one can be the better one data access component for desktop application and why?
1.) For MS Access 2007: ADO, OLEDB, DAO
2.) For MSSQL 2005: ADO, OLEDB, DAO
Good Morning,
Say I have an insert statement:
Insert INTO tblTest (fieldOne,FieldTwo,fieldThree) VALUES ('valueOne','valueTwo','null')
This statement doesn't seem to want to insert a null value into the database... I have also tried to insert the word "nothing".
Has anyone any ideas how to make this work? I am using SQL server 2005.
I am attempting to use a lookup transformation in my data transformation package and all of the other lookup transformations went well but one component returns the matching rows only when I enable the partial cache mode. If I use the full cache mode, all data is routed to the error path. I am using SQL 2005 SSIS. Any help appreciated..
I'm running a small web application with SQL server express (2005) as backend. I can create a backup with a SQL script, however, I'd like to schedule this on a daily basis. As extra option (should-have) I'd like to keep only the last X backups (for space-saving reasons obviously) Any pointers?
[edit] SQL server agent is unavailable in SQL server express...
I'm trying to run the unit tests from the gflags project, and I'd like
to know how to run them and what unit testing framework it is using to
do this.
I'm using VisualStudio2005.
I am working in .NET 2.0 with C# and database is SQL SERVER 2005. I am using DataGridView. I had enabled "Enable Editing" Checkbox. Eventhough, I am not able to edit any cell.Please, give me a solution.
If I need to provide a DLL by using C++ or C# to somebody. How do I know if my code is managed or unmanaged code? If I use VC++6.0, that means unmanaged and if I use .Net VisualStudio2005 or later it will be managed code?
Hi,
I want to deploy my windows mobile application on windows Mobile 6 emulator, so that there is no dependency on VisualStudio 2005/2008.
I require this for testing and demo purpose.
Thanks,
Mrinal Jaiswal
Hi,
I have a Virtual Machine with MOSS 2007 (Enterprise), VS2008 and SQL 2005.
I want to start exploring 2010. I need to know what I need to get started.
Can I donwload 2010 beta from Microsoft Site? Can I just install it without any conflicts with existing setup?
Thanks.
Hi,
I'm writing sql query to my SqlCommand, and some part of them looks like:
WHERE Path like N'+(select top 1 path from [Paths] where objectcode=@objectCode and objecttype=@objectType)+%' order by path desc,objecttype desc
I get no records , bu when I wrote the same in sql server 2005 i have plenty rows...
where path like (select top 1 path from [Paths] where objectcode='eg' and objecttype='0')+'%'
order by path desc
What's wrong ??
@objectType is 'eg'
I need to display the selecteditems in a label
I am using VB 2005
I set the selection mode to multi-extended
It did work selecting only one item with the following code:
me.xresultslabel.text= me.xlisttextbox.text.selectedItem.tostring
But when I tried to display more than one item using the following code:
me.resultlabel.text= me.xlisttextbox.text.selectedItems, I get the following string on the label:
system.windows.forms.listbox+selectedobjetcollections.
any help will be highly appreciate
I have an Incident table with one row that has the value 'out of office' in the Description column.
However the following query does not return that row.
SELECT * FROM Incident
WHERE CONTAINS( (Incident.Description), '"out*"' )
The word 'out' is not in the noise file (I cleared the noise file completely).
Is it because SQL Full-text search does not index small words? Is there a setting for that?
Note: I'm on SQL 2005.
Hi,
I converted an old sql server database from 2000 to 2005 and forgetten to add old indexes to the new db.
is there any way to copy the old indexes to the new db?
any help?
I have been tasked to shrink a SQL server 2005 database. This ia a live database and is runing at about 35gb.
How do I shrink a database?
Can this be done while that database is live?
How big will that database bw when it has been shrunk?
Thanks in advance.
Hello everyone,
I have variable length character and want to store in SQL Server (2005) database. I want to learn some best practices about how to choose TEXT SQL type or choose VARCHAR SQL type, pros and cons in performance/footprint/function.
thanks in advance,
George
SELECT a.one + ' test ' +b.two from table1 a right join table1 on a.id =b.id
The problem is that when one is null then it the whole string is null, is there some kind of trick to bypass this problem
msSQL 2005
I had to restore may database to 1 day erlier, so My database is missing data from a day before, and this databse has been used by users since the restoration.
How do I generate script/stored procedure to copy just the missing data from the backup database into my current database.
There are PK and FK relationships that need to be considering.
I'm using SQL server 2005
Thanks for your help.
Aein
I have an asp.net web app storing user's cellphone number in Sql Server 2005.
I want to use C# to encode cellphone number for security reason.
Which encryption method should I use for cellphone Encode and Decode?
DES?AES?RC4 or something else?
I maintain a product that is installed at multiple locations which as been haphazardly upgraded. Unique constraints were added to a number of tables, but I have no idea what the names are at any particular instance. What I do know is the table/columnname pair that has the unique constraints and I would like to write a script to delete any unique constraint on these column/table combinations. This is MSSQL 2000 and later. Something that works on 2000/2005/2008 would be best!
I'm trying to a good Perl module to use for connecting to a Sybase database.
My Googling has led me to see sybperl as a possible choice, but it hasn't been updated since 2005.
This simple query throws the "Ambiguous column name TaskID" error on one db-server only. This is ridiculous. We tested this with the same database structure on different servers and different versions of ms sql (2005/2008), and it's only THIS particular client's server that throws the error. I'm actually frustrated.
SELECT Tasks.TaskID
FROM Tasks
INNER JOIN TaskHelpers ON TaskHelpers.TaskID = Tasks.TaskID
order by TaskID
Yes, I know I can put "Tasks.TaskID" into the order by clause, but for some reasons I can't.
hii
i m trying to send mail through coding of asp
is there any external APIs to send mail like JAVA
give some hints
if possible sample code!!
I m using vs 2005 as well as vs 2008
I need to get a list of all tables that are published for replication from MS-SQL 2005/2008 databases. Is there a system stored procedure or a query I could run to generate such a list?
Thank you,