Quantcast
Channel: sql-server – Tech ABC to XYZ
Browsing index pages (30 articles)

Image may be NSFW.
Clik here to view.

update with the latest date [ANSWERED]

update with the latest date Asked By: user3094424 Originally Asked On: 2014-01-06 02:35:58 Asked Via: stackoverflow I have a table as shown below: I need to update them into the latest last_order_date,...

View Article


how to include max in sql where clause?

how to include max in sql where clause? Asked By: Zulu Z Originally Asked On: 2014-01-06 02:01:00 Asked Via: stackoverflow I have to create a query to return a next installment date and have a problem...

View Article


Conversion failed when converting from a character string to uniqueidentifier...

Conversion failed when converting from a character string to uniqueidentifier – Two GUIDs Asked By: Simon Edström Originally Asked On: 2014-01-05 23:02:52 Asked Via: stackoverflow I don’t understand...

View Article

SQL Date Format [ANSWERED]

SQL Date Format Asked By: user2980316 Originally Asked On: 2014-01-05 21:14:23 Asked Via: stackoverflow I’m working with an SQL Server and I’m create a program to add records to the database. However,...

View Article

Image may be NSFW.
Clik here to view.

Insert into the database "MDF" does not work [ANSWERED]

Insert into the database "MDF" does not work Asked By: Ronald Araújo Originally Asked On: 2014-01-05 19:52:01 Asked Via: stackoverflow Honestly I’ve tried everything and in many ways, but I can not...

View Article


Error while converting string to SqlConnection [ANSWERED]

Error while converting string to SqlConnection Asked By: Lost_in_CS Originally Asked On: 2014-01-05 19:38:58 Asked Via: stackoverflow I’m getting this error: Cannot implicitly convert type string to...

View Article

Inserting date in database [ANSWERED]

Inserting date in database Asked By: user3163265 Originally Asked On: 2014-01-05 19:17:27 Asked Via: stackoverflow datofreg is of type datetime my command is SqlCommand cmd = new SqlCommand("insert...

View Article

count query with joins in sql

count query with joins in sql Asked By: user3134694 Originally Asked On: 2014-01-05 18:38:16 Asked Via: stackoverflow I try to create a count query in SQL, and I try to show notifications to...

View Article


jTDS 1.2.7 and SQL Server 2000 Default instance

jTDS 1.2.7 and SQL Server 2000 Default instance Asked By: Ennio Originally Asked On: 2014-01-05 18:30:20 Asked Via: stackoverflow a very simple snippet: private static final String...

View Article


MSSQL Stored Procedure – Return more than one column [ANSWERED]

MSSQL Stored Procedure – Return more than one column Asked By: NicT Originally Asked On: 2014-01-05 18:23:39 Asked Via: stackoverflow (If you’re here from Google, I answered my own question with a fix)...

View Article

Select top 1 from each group sql [ANSWERED]

Select top 1 from each group sql Asked By: Jeffrey Grima Originally Asked On: 2014-01-02 12:58:08 Asked Via: stackoverflow I want to select the most popular menu item per location. Any suggestions??...

View Article

connection of c# application to server using integrated security [ANSWERED]

connection of c# application to server using integrated security Asked By: ankur Originally Asked On: 2014-01-02 12:50:35 Asked Via: stackoverflow I want to connect my application to server using...

View Article

Incrementing custom primary key values in SQL [ANSWERED]

Incrementing custom primary key values in SQL Asked By: Mahe Originally Asked On: 2014-01-02 12:39:18 Asked Via: stackoverflow I am asked to generate custom ID values for primary key columns. The query...

View Article


Calculate time difference for attendance [ANSWERED]

Calculate time difference for attendance Asked By: user3153067 Originally Asked On: 2014-01-02 12:25:11 Asked Via: stackoverflow I have a table with the below sample output. UserID Checktime...

View Article

Derived Column condition to get string between two Hyphens

Derived Column condition to get string between two Hyphens Asked By: Catalyst Originally Asked On: 2014-01-02 12:02:48 Asked Via: stackoverflow I need an SSIS expression to get the left part of a...

View Article


SQL Server 2000: remove duplicates from comma-separated string [ANSWERED]

SQL Server 2000: remove duplicates from comma-separated string Asked By: newSpringer Originally Asked On: 2014-01-02 12:01:42 Asked Via: stackoverflow I have been looking into this for a while now and...

View Article

Must declare the table variable "@temp" [ANSWERED]

Must declare the table variable "@temp" Asked By: Abhishek Originally Asked On: 2014-01-02 12:01:41 Asked Via: stackoverflow I create a stored procedure in which I am using a dynamic query. The query...

View Article


Count same id column with different condition in same select statement...

Count same id column with different condition in same select statement Asked By: Lekhulal Mathalipara Originally Asked On: 2014-01-02 11:55:06 Asked Via: stackoverflow I need to combine both select...

View Article

Invalid data type while using user defined table type [ANSWERED]

Invalid data type while using user defined table type Asked By: Hot Cool Stud Originally Asked On: 2014-01-02 11:36:38 Asked Via: stackoverflow I’m new to table-valued parameter in SQL Server 2008. I...

View Article

SQL Server 2008 R2 Trigger [ANSWERED]

SQL Server 2008 R2 Trigger Asked By: LaLa Originally Asked On: 2014-01-02 11:35:01 Asked Via: stackoverflow I know there have been a plethora of Q’s asked around this but after reading, nobody seems to...

View Article
Browsing index pages (30 articles)


Latest Images