adspace


What happens if strings are casted into wrong code pages in ms sql server?

Answer Posted / Yasho Verma

When strings are casted into the wrong code page in MS SQL Server, it can result in garbled or incorrect data. This is because different code pages use different character sets to represent characters, and casting a string into an incompatible code page can cause some characters to be misinterpreted.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove duplicate rows from table except one?

1090


How do I find query history in sql server?

1025


This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?

2568


How to enter binary string literals in ms sql server?

1246


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

2296


How can I check that whether automatic statistic update is enabled or not?

1113


Where can you add custom error messages to sql server?

1215


What are the properties of the transaction?

1074


How do I find the sql server version?

1103


How to connect php with different port numbers?

1191


what is the Ticketing tool used in Wipro technologies at Bangalore...???

8231


Is it possible to have clustered index on separate drive from original table location?

1041


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1215


Disadvantages of the indexes?

1224


What is normalization and what are the advantages of it?

1057