Skip to content

Commit 5ca2c2f

Browse files
committed
Fixing duplicate link
Changing code snippet style
1 parent e6c8af1 commit 5ca2c2f

5 files changed

Lines changed: 6 additions & 5 deletions

‎docs/connect/ado-net/sql/table-valued-parameters.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ For more information about table-valued parameters, see the following resources.
2929
|Resource|Description|
3030
|--------------|-----------------|
3131
|[Use Table-Valued Parameters (Database Engine)](../../../relational-databases/tables/use-table-valued-parameters-database-engine.md)|Describes how to create and use table-valued parameters.|
32-
|[Use Table-Valued Parameters (Database Engine)](../../../relational-databases/tables/use-table-valued-parameters-database-engine.md)|Describes user-defined table types that are used to declare table-valued parameters.|
32+
|[Creating a user-defined table type](../../../t-sql/statements/create-type-transact-sql.md#c-creating-a-user-defined-table-type)|Describes user-defined table types that are used to declare table-valued parameters.|
33+
|[User-Defined Table Types](/previous-versions/sql/sql-server-2008/bb522526(v=sql.100))|Describes user-defined table types that are used to declare table-valued parameters.|
3334

3435
## Passing multiple rows in previous versions of SQL Server
3536

‎docs/connect/jdbc/handling-complex-statements.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ When you know the type of object or data that's returned, you can use either the
2424

2525
In the following example, an open connection to the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal_md.md)] sample database is passed in to the function, a complex statement is constructed that combines a stored procedure call with a SQL statement, the statements are run, and then a `do` loop is used to process all the result sets and updated counts that are returned.
2626

27-
[!code[JDBC#HandlingComplexStatements1](codesnippet/Java/handling-complex-statements_1.java)]
27+
:::code language="java" source="codesnippet/Java/handling-complex-statements_1.java":::
2828

2929
## See also
3030

‎docs/connect/jdbc/reading-large-data-with-stored-procedures-sample.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This sample code:
4343

4444
Finally, the sample code displays the data returned with the OUT parameters and also demonstrates how to use the `mark` and `reset` methods on the stream to re-read any portion of the data.
4545

46-
[!code[JDBC#UsingAdaptiveBuffering2](codesnippet/Java/reading-large-data-with-_1_1.java)]
46+
:::code language="java" source="codesnippet/Java/reading-large-data-with-_1_1.java":::
4747

4848
## See also
4949

‎docs/connect/jdbc/sqlxml-data-type-sample.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The showSetters method demonstrates how to set the **xml** column by using the S
5454

5555
The showTransformer method demonstrates how to get XML data from one table and insert that XML data into another table by using the SAX and the Transformer. First, it retrieves the source SQLXML object from the TestTable1. Then, it creates an empty destination SQLXML object by using the [createSQLXML](reference/createsqlxml-method-sqlserverconnection.md) method of the Connection class. Next, it updates the destination SQLXML object and writes the XML data to TestTable2. Finally, the sample code iterates through the rows of data that are in the result set, and uses the [getSQLXML](reference/getsqlxml-method-sqlserverresultset.md) method to read the XML data in TestTable2.
5656

57-
[!code[JDBC#UsingSQLXML1](codesnippet/Java/sqlxml-data-type-sample_1.java)]
57+
:::code language="java" source="codesnippet/Java/sqlxml-data-type-sample_1.java":::
5858

5959
## See also
6060

‎docs/connect/jdbc/using-an-sql-statement-with-no-parameters.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To work with data in a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]
2121

2222
In the following example, an open connection to the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal_md.md)] sample database is passed in to the function, an SQL statement is constructed and run, and then the results are read from the result set.
2323

24-
[!code[JDBC#UsingSQLWithNoParams1](codesnippet/Java/using-an-sql-statement-w_0_1.java)]
24+
:::code language="java" source="codesnippet/Java/using-an-sql-statement-w_0_1.java":::
2525

2626
For more information about using result sets, see [Managing result sets with the JDBC driver](managing-result-sets-with-the-jdbc-driver.md).
2727

0 commit comments

Comments
 (0)