Loading...
SCE
Home
AI Assistant
Ask Anything
Categories
Python
C#
C++
C
Visual Basic
Java
JavaScript
HTML
CSS
SQL
Git
VIEW ALL
Other
Tags
What's Hot
Featured
I'm Feeling Lucky
Latest
SCE
Loading...
Sign Up
Log In
AI Assistant
Loading...
How can you use the PIVOT and UNPIVOT operators to transform data?
TinaGrn
|
Jul 24, 2024
How do you create and manage user-defined functions in SQL?
NickCrt
|
Jul 24, 2024
How do you use the CREATE SYMMETRIC KEY statement to create a new symmetric key for encryption?
EveClark
|
Jul 23, 2024
How do you use the EXCEPT operator to return distinct rows from the left query that are not in the right query?
PaulAnd
|
Jul 23, 2024
How do you create a table with a column of type NCHAR?
BobHarris
|
Jul 23, 2024
How do you create a table with a column of type NVARCHAR(MAX)?
TinaGrn
|
Jul 23, 2024
How do you use the RIGHT function to extract a specified number of characters from the right side of a string?
IreneSm
|
Jul 23, 2024
How do you use the CREATE USER statement to create a database user mapped to a Windows login?
EveClark
|
Jul 23, 2024
How do you use the DROP ROLE statement to delete a database role?
NickCrt
|
Jul 23, 2024
How do you use the DECRYPTBYKEY function to decrypt data encrypted by the ENCRYPTBYKEY function in SQL Server?
GraceDv
|
Jul 23, 2024
How do you declare a cursor to iterate over the result set of a SELECT statement?
EveClark
|
Jul 23, 2024
How do you add a new column to an existing table?
SamPetr
|
Jul 23, 2024
How can you pivot data from rows to columns in SQL?
BobHarris
|
Jul 23, 2024
How do you use the OVER() clause to calculate running totals?
JackBrn
|
Jul 23, 2024
How do you use the OUTPUT clause in an UPDATE statement to return updated rows?
MaryJns
|
Jul 23, 2024
How do you use the TIME data type to store time-only values in SQL Server?
RoseHrs
|
Jul 23, 2024
How do you use the AVG function to calculate the average value of a numeric column?
NickCrt
|
Jul 22, 2024
How do you use the MAX function to find the highest value in a column?
LeoRobs
|
Jul 22, 2024
How do you use the FOR XML PATH clause to generate XML output from a query?
CarolTh
|
Jul 22, 2024
How do you open a cursor to begin processing its result set?
GraceDv
|
Jul 22, 2024
How do you use a cursor to update rows in a table based on a condition?
DavidLee
|
Jul 22, 2024
How do you use the DBCC CHECKDB command to check the integrity of a database?
MaryJns
|
Jul 22, 2024
How do you use the XML PATH('') syntax with STUFF to concatenate values into a comma-separated list?
HenryPk
|
Jul 22, 2024
How do you find the nth highest value in a table?
HenryPk
|
Jul 22, 2024
How do you create a function that returns a table?
GraceDv
|
Jul 22, 2024
How do you create and use a temporary table to store intermediate results in a query?
EveClark
|
Jul 21, 2024
How do you use the TRY_CONVERT function to handle data conversion errors gracefully?
HenryPk
|
Jul 21, 2024
How do you write a query to find duplicate records in a table?
FrankMl
|
Jul 21, 2024
How do you use the TRY_PARSE function to convert a string to a date or number with error handling?
GraceDv
|
Jul 21, 2024
How do you use the RANK() function to assign a rank to each row within a result set?
BobHarris
|
Jul 21, 2024
How do you use the COALESCE function with multiple columns to return the first non-null value?
EveClark
|
Jul 21, 2024
How do you use the CREATE SCHEMA statement to create a new schema in the database?
GraceDv
|
Jul 21, 2024
How do you use the FIRST_VALUE function to return the first value in an ordered set of values?
SamPetr
|
Jul 21, 2024
How do you create a new table in SQL?
RoseHrs
|
Jul 21, 2024
How do you insert multiple rows into a table in a single query?
HenryPk
|
Jul 21, 2024
How do you use the ALTER TYPE statement to modify an existing user-defined type?
BobHarris
|
Jul 21, 2024
How do you create a filtered index to improve query performance?
JackBrn
|
Jul 21, 2024
How do you create and use an indexed view?
QuinnLw
|
Jul 21, 2024
How do you use the ROWVERSION data type to automatically generate unique binary numbers?
IreneSm
|
Jul 20, 2024
How do you use the DISABLE TRIGGER statement to disable a trigger?
GraceDv
|
Jul 20, 2024
How do you use the ISDATE function to check if a string is a valid date?
KarenKg
|
Jul 20, 2024
How do you use the FILTER clause with aggregate functions to apply conditions for specific aggregates in SQL Server?
FrankMl
|
Jul 20, 2024
How do you use the CREATE SERVICE statement to create a new service for Service Broker?
KarenKg
|
Jul 19, 2024
How do you use the STRING_SPLIT function to split a delimited string into rows?
JackBrn
|
Jul 19, 2024
How do you use window functions such as ROW_NUMBER(), RANK(), and DENSE_RANK() to assign ranks to rows in a result set based on specific criteria?
EveClark
|
Jul 19, 2024
How do you use the LEN function to find the length of a string?
MaryJns
|
Jul 19, 2024
How can you update data in one table based on data in another table?
MaryJns
|
Jul 19, 2024
How do you use the REPLACE function to replace occurrences of a substring within a string?
LeoRobs
|
Jul 19, 2024
How do you use the ALTER PARTITION FUNCTION statement to merge or split partitions?
AliceWk
|
Jul 19, 2024
How do you use the MINUS operator to find differences between two queries?
AliceWk
|
Jul 19, 2024
How do you enforce uniqueness in a column with a unique constraint?
SamPetr
|
Jul 19, 2024
How do you create a clustered index on a table?
FrankMl
|
Jul 18, 2024
How do you use the WITH TIES option with the TOP clause to include ties in the query results?
AliceWk
|
Jul 18, 2024
How do you write a query to get the difference between the highest and lowest values in a column?
AliceWk
|
Jul 18, 2024
How do you use the DROP FULLTEXT INDEX statement to delete a full-text index?
RoseHrs
|
Jul 18, 2024
How do you perform a self-join to find pairs of employees working under the same manager in an Employees table?
GraceDv
|
Jul 18, 2024
How do you declare and use a cursor with parameters to filter the result set dynamically?
KarenKg
|
Jul 18, 2024
How do you implement full-text search in SQL?
SamPetr
|
Jul 18, 2024
How do you perform a bulk insert of data into a table?
MaryJns
|
Jul 18, 2024
How do you use the TRY...CATCH block to handle errors in SQL Server?
HenryPk
|
Jul 18, 2024
How do you use the FOR XML clause to return query results as XML?
KarenKg
|
Jul 18, 2024
How do you use the CREATE SYNONYM statement to create a new synonym for a database object?
QuinnLw
|
Jul 17, 2024
How do you use the UNION operator to combine results from two queries?
NickCrt
|
Jul 17, 2024
How do you use the POWER function to raise a number to a specified power?
FrankMl
|
Jul 17, 2024
How do you use the PARTITION BY clause with aggregate functions to calculate aggregates over partitions?
SamPetr
|
Jul 17, 2024
How do you use the ALTER TABLE statement to add a foreign key constraint to an existing table?
QuinnLw
|
Jul 17, 2024
How do you use the SEQUENCE object to generate unique numbers?
MaryJns
|
Jul 17, 2024
How do you use the STDEV and VAR functions to calculate statistical measures in a query?
CarolTh
|
Jul 17, 2024
How do you optimize queries with the use of query execution plans?
NickCrt
|
Jul 17, 2024
How do you use the CHARINDEX and SUBSTRING functions to manipulate string data?
EveClark
|
Jul 17, 2024
How do you use the CREATE QUEUE statement to create a new queue for Service Broker?
RoseHrs
|
Jul 16, 2024
How do you use the ENCRYPTBYCERT function to encrypt data with a certificate?
IreneSm
|
Jul 16, 2024
How do you create a table with a computed column that derives its value from other columns?
LeoRobs
|
Jul 16, 2024
How do you use the FORMAT function to format date and number values?
CarolTh
|
Jul 16, 2024
How do you use the LEFT function to extract a specified number of characters from the left side of a string?
KarenKg
|
Jul 16, 2024
How do you create a DDL trigger to track changes to the database schema?
MaryJns
|
Jul 16, 2024
How do you use the EXEC command to execute a stored procedure or dynamic SQL statement?
JackBrn
|
Jul 16, 2024
How do you use the TABLESAMPLE clause to sample rows from a table?
KarenKg
|
Jul 16, 2024
How do you create and manage synonyms in SQL Server?
JackBrn
|
Jul 16, 2024
How do you create a table with an identity column and set the starting value?
DavidLee
|
Jul 16, 2024
How do you use the IDENTITY_INSERT statement to insert explicit values into an identity column?
KarenKg
|
Jul 16, 2024
How do you use the DATEADD function to add or subtract intervals from a datetime value?
BobHarris
|
Jul 16, 2024
How do you use the TRY...CATCH block to handle errors in a SQL Server transaction?
JackBrn
|
Jul 16, 2024
How do you use the ENCRYPTBYKEY function to encrypt data with a symmetric key?
FrankMl
|
Jul 15, 2024
How do you use the GENERATED ALWAYS AS ROW START and GENERATED ALWAYS AS ROW END columns for temporal tables?
MaryJns
|
Jul 15, 2024
How do you use the DENSE_RANK() function to assign a dense rank to each row within a result set?
EveClark
|
Jul 15, 2024
How do you use the DROP LOGIN statement to delete a SQL Server login?
EveClark
|
Jul 15, 2024
How can you implement pagination in SQL to limit the number of results returned?
HenryPk
|
Jul 15, 2024
How do you use the COALESCE function in SQL?
QuinnLw
|
Jul 15, 2024
How do you use the TRY_PARSE and TRY_CONVERT functions to handle data conversion errors gracefully?
TinaGrn
|
Jul 15, 2024
How do you use the TRY_PARSE function to convert string data to a datetime format?
OliviaWm
|
Jul 15, 2024
How can you enforce referential integrity with foreign key constraints?
IreneSm
|
Jul 15, 2024
How do you use the OPEN SYMMETRIC KEY statement to open a symmetric key for use?
IreneSm
|
Jul 14, 2024
How do you use the CREATE CONTRACT statement to create a new contract for Service Broker?
MaryJns
|
Jul 14, 2024
How do you use the FOR SYSTEM_TIME clause to query historical data from a temporal table?
SamPetr
|
Jul 14, 2024
How do you use the UNPIVOT operator to transform columns into rows in SQL Server?
KarenKg
|
Jul 14, 2024
How do you use the OFFSET clause without the FETCH NEXT clause for advanced pagination techniques?
IreneSm
|
Jul 14, 2024
How do you use the AT TIME ZONE clause to convert datetime values between different time zones in SQL Server?
KarenKg
|
Jul 14, 2024
How do you use the STRING_SPLIT function to split a string into a table of values?
LeoRobs
|
Jul 14, 2024
Prev
1
2
3
4
5
6
Next