Click here to Skip to main content
15,891,567 members
Home / Discussions / Database
   

Database

 
GeneralRe: Identity Field Overuse vs. Bad Primary Keys Pin
Mark J. Miller11-Apr-08 9:34
Mark J. Miller11-Apr-08 9:34 
GeneralRe: Identity Field Overuse vs. Bad Primary Keys Pin
GuyThiebaut11-Apr-08 11:50
professionalGuyThiebaut11-Apr-08 11:50 
QuestionWhat is the default format of a calender in Visual Studio 2008? Pin
Daniel_Logan11-Apr-08 4:21
Daniel_Logan11-Apr-08 4:21 
AnswerRe: What is the default format of a calender in Visual Studio 2008? Pin
Ashfield11-Apr-08 4:41
Ashfield11-Apr-08 4:41 
GeneralRe: What is the default format of a calender in Visual Studio 2008? Pin
Daniel_Logan14-Apr-08 20:37
Daniel_Logan14-Apr-08 20:37 
AnswerRe: What is the default format of a calender in Visual Studio 2008? Pin
GuyThiebaut11-Apr-08 11:37
professionalGuyThiebaut11-Apr-08 11:37 
GeneralRe: What is the default format of a calender in Visual Studio 2008? Pin
Daniel_Logan14-Apr-08 20:54
Daniel_Logan14-Apr-08 20:54 
Questionxquery problem. Pin
blowout3311-Apr-08 4:01
blowout3311-Apr-08 4:01 
Hi!

I would like to put in a variable in a xquery function.

I would like to dynamicly increase the [1] number.
Content.value('(//mislife/insurance/party/@pno)[1]', 'varchar(max)')
The line above works!

This is how I failed.

declare @iCounter int
set iCounter = 1

Content.value('(//mislife/insurance/party/@pno)' + str(@iCounter) , 'varchar(max)')

The error I receive from SQL:
"The argument 1 of the xml data type method "value" must be a string literal."

I have tried with cast(1 as varchar(max)) and whith the str() function but the compilater wont accept it.

Is it possible the change/break up this type of string?

/Tommy
GeneralRe: xquery problem. Pin
Mark J. Miller11-Apr-08 9:55
Mark J. Miller11-Apr-08 9:55 
AnswerRe: xquery problem. Pin
blowout3314-Apr-08 1:10
blowout3314-Apr-08 1:10 
GeneralMigrating a FoxPro database to SQL Server 2005 Pin
Aptiva Dave11-Apr-08 3:34
Aptiva Dave11-Apr-08 3:34 
GeneralRe: Migrating a FoxPro database to SQL Server 2005 Pin
A Wong11-Apr-08 5:28
A Wong11-Apr-08 5:28 
QuestionHow to take table record from oracle into an arrays or RecordSet or DataTable, which to be bind to DropDownList? [modified] Pin
vishalcodeproj11-Apr-08 2:46
vishalcodeproj11-Apr-08 2:46 
QuestionHow to display image stored in SQL server into a control Pin
Jeevamohan11-Apr-08 1:23
Jeevamohan11-Apr-08 1:23 
GeneralRe: How to display image stored in SQL server into a control Pin
Pete O'Hanlon11-Apr-08 3:18
mvePete O'Hanlon11-Apr-08 3:18 
Questionmdb file is not opening Pin
gayatrilaxmi10-Apr-08 22:51
gayatrilaxmi10-Apr-08 22:51 
GeneralRe: mdb file is not opening Pin
John_Adams10-Apr-08 23:25
John_Adams10-Apr-08 23:25 
GeneralRe: mdb file is not opening Pin
gayatrilaxmi11-Apr-08 0:31
gayatrilaxmi11-Apr-08 0:31 
QuestionHow to Get Data from Microsoft Excel Sheets in C# for Generating REPORTS in SSRS 2005.. Pin
Aswanth10-Apr-08 22:09
Aswanth10-Apr-08 22:09 
GeneralSelect into Problem Pin
Vimalsoft(Pty) Ltd10-Apr-08 20:55
professionalVimalsoft(Pty) Ltd10-Apr-08 20:55 
AnswerRe: Select into Problem Pin
Ashfield10-Apr-08 21:00
Ashfield10-Apr-08 21:00 
AnswerRe: Select into Problem Pin
Vimalsoft(Pty) Ltd10-Apr-08 21:07
professionalVimalsoft(Pty) Ltd10-Apr-08 21:07 
GeneralRe: Select into Problem Pin
Ashfield10-Apr-08 21:22
Ashfield10-Apr-08 21:22 
AnswerRe: Select into Problem Pin
Vimalsoft(Pty) Ltd10-Apr-08 22:27
professionalVimalsoft(Pty) Ltd10-Apr-08 22:27 
GeneralRe: Select into Problem Pin
swjam15-Apr-08 18:30
swjam15-Apr-08 18:30 

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.