Click here to Skip to main content
15,893,594 members
Home / Discussions / Database
   

Database

 
GeneralRe: stop select case creating new rows? Pin
WoutL5-Aug-09 9:25
WoutL5-Aug-09 9:25 
AnswerRe: stop select case creating new rows? Pin
Tommy Pickersgill5-Aug-09 6:46
Tommy Pickersgill5-Aug-09 6:46 
GeneralRe: stop select case creating new rows? Pin
i.j.russell5-Aug-09 11:39
i.j.russell5-Aug-09 11:39 
GeneralRe: stop select case creating new rows? [modified] Pin
Tommy Pickersgill5-Aug-09 23:06
Tommy Pickersgill5-Aug-09 23:06 
QuestionDesigning Table to Record Hierarchy Pin
vhassan5-Aug-09 0:58
vhassan5-Aug-09 0:58 
QuestionSQL Server config Pin
helelark1234-Aug-09 6:13
helelark1234-Aug-09 6:13 
AnswerRe: SQL Server config Pin
leckey4-Aug-09 16:02
leckey4-Aug-09 16:02 
GeneralRe: SQL Server config Pin
helelark1234-Aug-09 18:44
helelark1234-Aug-09 18:44 
Private Function GetPathPicturesFromDb(ByVal Period As String, ByVal Location As String) As String
Dim ds As New DataSet("Pictures")
Dim strSQL As String = "SELECT FullFileName FROM PicturesTable " & _
"WHERE PERIOD='" & Period & "' " & _
"AND LOCATION='" & Location & "'"


Dim sqlConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("MemberShipConnectionString").ConnectionString)
sqlConnection.Open()
Dim da As New SqlDataAdapter()
da.SelectCommand = New SqlCommand(strSQL, sqlConnection)
da.Fill(ds)


If ds.Tables(0).Rows.Count > 0 Then _
Return ds.Tables(0).DefaultView(0).Row("FullFileName").ToString.Trim

Return ""

End Function

The Location field contains hebrew words and when I am querying by changing the database content in english it works perfectly with the same code I post upstair. So I am sure that the problem is because the hebrew. I need to config anywhere that the Location column can contain hebrew characters. Again, I success to insert hebrew words in the databse but when I am querying no records are found
Thanks

Shay Noy

AnswerRe: SQL Server config Pin
N a v a n e e t h4-Aug-09 17:52
N a v a n e e t h4-Aug-09 17:52 
GeneralRe: SQL Server config Pin
helelark1234-Aug-09 18:46
helelark1234-Aug-09 18:46 
QuestionThe ORA-01033: ORACLE initialization or shutdown in progress Pin
vikash_singh4-Aug-09 5:59
vikash_singh4-Aug-09 5:59 
AnswerRe: The ORA-01033: ORACLE initialization or shutdown in progress Pin
suresh.palghar1-Sep-09 23:31
suresh.palghar1-Sep-09 23:31 
QuestionLoading(Importing) Data into SQL Server 2005 Pin
sm_sadhik4-Aug-09 5:00
sm_sadhik4-Aug-09 5:00 
AnswerRe: Loading(Importing) Data into SQL Server 2005 Pin
i.j.russell5-Aug-09 11:42
i.j.russell5-Aug-09 11:42 
QuestionInvalid column name error? Pin
cdietschrun4-Aug-09 4:25
cdietschrun4-Aug-09 4:25 
AnswerRe: Invalid column name error? Pin
Blue_Boy4-Aug-09 4:44
Blue_Boy4-Aug-09 4:44 
GeneralRe: Invalid column name error? Pin
cdietschrun4-Aug-09 4:50
cdietschrun4-Aug-09 4:50 
GeneralRe: Invalid column name error? Pin
cdietschrun4-Aug-09 4:58
cdietschrun4-Aug-09 4:58 
GeneralRe: Invalid column name error? [modified] Pin
Blue_Boy4-Aug-09 5:40
Blue_Boy4-Aug-09 5:40 
QuestionHow to edit Dataset value (NOT DATA GRID) Pin
sacr834-Aug-09 0:12
sacr834-Aug-09 0:12 
AnswerRe: How to edit Dataset value (NOT DATA GRID) Pin
Kschuler4-Aug-09 3:14
Kschuler4-Aug-09 3:14 
GeneralRe: How to edit Dataset value (NOT DATA GRID) Pin
sacr835-Aug-09 20:21
sacr835-Aug-09 20:21 
AnswerRe: How to edit Dataset value (NOT DATA GRID) Pin
Andy_L_J4-Aug-09 9:38
Andy_L_J4-Aug-09 9:38 
Questionsql server comparing two huge tables Pin
ps_prakash023-Aug-09 21:26
ps_prakash023-Aug-09 21:26 
AnswerRe: sql server comparing two huge tables Pin
Mycroft Holmes3-Aug-09 23:18
professionalMycroft Holmes3-Aug-09 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.