Forum: MS SQL Apr 20th, 2009 |
| Replies: 3 Views: 673 First, set a breakpoint at line conn.Open();, execute the line and check conn.State. It should be Open (or ConnectionState.Open) if your connection string is ok. Otherwise, recheck connection string... |
Forum: MS SQL Dec 4th, 2008 |
| Replies: 4 Views: 3,005 AFAIK with SQL Server 2000 you need to use textcopy utility. Check this MS forum's thread if it helps:
using textcopy to import image file (jpg) to sql server DB in SQL Server Programming... |
Forum: MS SQL Dec 3rd, 2008 |
| Replies: 4 Views: 3,005 What programming language you're using? If VB.NEt, you may try Daniweb's site search. I've answered the same or at least very similar question few times. A pretty good search phrase is "image SQL... |
Forum: MS SQL Nov 3rd, 2008 |
| Replies: 1 Views: 627 Since you have two different Availability values, you'll get two rows no matter what you do. Drop the dbo.RoomRates.Overflow = 1 check.
Or use that query as a sub query:
SELECT DISTINCT... |
Forum: MS SQL Sep 28th, 2008 |
| Replies: 3 Views: 1,694 I didn't test this but if I remember right the syntax goes:
Imports System.Data.OleDb
Dim strSQL As String
Dim oConn As OleDb.OleDbConnection
Dim oCmd As OleDb.OleDbCommand
oConn = New... |